public function getCMSFields() { $fields = parent::getCMSFields(); $fields->addFieldToTab('Root.Main', DropdownField::create('ApplicableDays', 'Schedule Day Type', array('Mon,Tue,Wed,Thu,Fri' => 'Weekdays', 'Sat,Sun' => 'Weekend'))); return $fields; }
public function getCMSFields() { $fields = parent::getCMSFields(); $fields->removeByName('ApplicableDays'); return $fields; }