/** * {@inheritDoc} */ public function getAttributes() { if ($this->isField()) { return array_merge(parent::getAttributes(), array('size' => '1')); } return parent::getAttributes(); }
/** * {@inheritDoc} */ public function getAttributes() { if ($this->isField()) { return array_merge(parent::getAttributes(), array('size' => '1')); } return parent::getAttributes(); }