Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['hide' => true] + parent::toArray();
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['required' => $this->isRequired(), 'unique' => $this->get('unique'), 'disabled' => $this->get('disable'), 'label' => $this->getLabel()] + parent::toArray();
 }
Exemplo n.º 3
0
 /**
  * @inheritdoc
  *
  * @return array
  */
 public function toArray()
 {
     return ['width' => $this->get('width'), 'header' => $this->getHeader(), 'order_dir' => $this->getDefaultOrderDirection(), 'formatter' => $this->get('formatter'), 'formatter_options' => $this->get('formatterOptions')] + parent::toArray();
 }