SilverStripe\CMS\Model\SiteTree::getCMSFields
Returns a FieldList with which to create the main editing form.
You can override this in your child classes to add extra fields - first get the parent fields using parent::getCMSFields(), then use addFieldToTab() on the FieldList. See for a different set of fields concerned with configuration aspects on the record, e.g. access control.
Signature
public function getCMSFields()
Returns
- FieldList
- The fields to be displayed in the CMS