From 2904e1ea95ae145659e8ce85443662f9ce9694a7 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 26 Feb 2016 11:15:09 +1100 Subject: [PATCH] Add CMS Fields Extension Hook Add CMS Fields Extension Hook. --- code/dataobjects/SystemNotification.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/dataobjects/SystemNotification.php b/code/dataobjects/SystemNotification.php index ce4dd03..3812c6d 100644 --- a/code/dataobjects/SystemNotification.php +++ b/code/dataobjects/SystemNotification.php @@ -84,6 +84,8 @@ public function getCMSFields() { }else{ $fields->insertBefore(TextareaField::create('NotificationText', _t('SystemNotification.TEXT', 'Text')), 'AvailableKeywords'); } + + $this->extend('updateCMSFields', $fields); return $fields; }