예제 #1
0
파일: States.php 프로젝트: guratr/cruddy
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['hide' => true] + parent::toArray();
 }
예제 #2
0
파일: BaseField.php 프로젝트: guratr/cruddy
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['required' => $this->isRequired(), 'unique' => $this->get('unique'), 'disabled' => $this->get('disable'), 'label' => $this->getLabel()] + parent::toArray();
 }
예제 #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();
 }