function getCMSFields() { $this->beforeUpdateCMSFields(function (&$fields) { $fields->merge(array(new TextField('Query', _t('SearchTwitterWidget.FIELD_QUERY', 'Query'), null, 255))); }); return parent::getCMSFields(); }
public function getCMSFields() { $this->beforeUpdateCMSFields(function (&$fields) { $fields->merge(array(new TextField('User', _t('UserTwitterWidget.FIELD_USER', 'User'), null, 255))); }); return parent::getCMSFields(); }