public function formField() { $field = $this->removeFields(parent::formField(), ['action', 'scheme', 'show_faces', 'share', 'for_kids']); $field->push(\DropdownField::create('mobile', _t('Shortcodable.FB-MOBILE', 'Display mobile compatible version'), ['' => '(Automatic)', 'true' => 'Yes', 'false' => 'No'])); $field->push(\NumericField::create('num_posts', _t('Shortcodable.FB-NUM_POSTS', 'Number of posts'), 30)); $field->push(\DropdownField::create('order_by', _t('Shortcodable.FB-ORDER_BY', 'Order by'), ['' => 'Social (active)', 'reverse_time' => 'Created DESC', 'time' => 'Created ASC'])); return $field; }
public function formField() { return $this->removeFields(parent::formField(), ['share']); }
public function formField() { return $this->removeFields(parent::formField(), ['action', 'scheme', 'show_faces', 'share', 'for_kids']); }
public function formField() { return $this->removeFields(parent::formField(), ['action', 'layout', 'show_faces', 'share']); }