diff --git a/code/models/Section.php b/code/models/Section.php index e1898d3..2029fd0 100644 --- a/code/models/Section.php +++ b/code/models/Section.php @@ -59,7 +59,7 @@ class Section extends DataObject implements PermissionProvider * @return FieldList */ public function getCMSFields() { - return new FieldList( + $fields = new FieldList( $rootTab = new TabSet( "Root", $tabMain = new Tab( @@ -100,6 +100,8 @@ public function getCMSFields() { ) ) ); + $this->extend('updateCMSFields', $fields); + return $fields; } /**