Skip to content

Commit

Permalink
Merge pull request #10 from jason-zz/patch-1
Browse files Browse the repository at this point in the history
Add CMS Fields Extension Hook
  • Loading branch information
nyeholt committed Mar 29, 2016
2 parents 31b1444 + 2904e1e commit 2308dd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/dataobjects/SystemNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ public function getCMSFields() {
}else{
$fields->insertBefore(TextareaField::create('NotificationText', _t('SystemNotification.TEXT', 'Text')), 'AvailableKeywords');
}

$this->extend('updateCMSFields', $fields);

return $fields;
}
Expand Down

0 comments on commit 2308dd6

Please sign in to comment.