コード例 #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
ファイル: BaseColumn.php プロジェクト: guratr/cruddy
 /**
  * @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();
 }