Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | public function getCMSFields() |
||
21 | { |
||
22 | $fields = parent::getCMSFields(); |
||
23 | $fields->addFieldToTab('Root.Main', |
||
24 | TextareaField::create('Markup')->setTitle(_t(__CLASS__ . '.ContentTitle', 'Markup'))); |
||
25 | $fields->addFieldToTab('Root.Main', |
||
26 | LiteralField::create('Warning', |
||
27 | '<p><strong>' . _t(__CLASS__ . '.MarkupWarning', |
||
28 | "Warning! This field is not validated. Code entered here may break your page! Proceed with caution!") . '</strong></p>') |
||
29 | ->addExtraClass('form__field-label')); |
||
30 | return $fields; |
||
31 | } |
||
38 |