Beispiel #1
0
 public function getFields()
 {
     return ['title' => ['class' => CharField::className(), 'label' => MetaModule::t('Title')], 'description' => ['class' => TextAreaField::className(), 'label' => MetaModule::t('Description')], 'keywords' => ['class' => TextAreaField::className(), 'label' => MetaModule::t('Keywords')], 'url' => ['class' => HiddenField::className()], 'site' => ['class' => HiddenField::className(), 'value' => $this->getIsMultiSite() ? $this->getSitePk() : null]];
 }
Beispiel #2
0
 public function getFields()
 {
     return [$this->ownerField => HiddenField::className()];
 }