| Total Complexity | 1 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ContentWidget extends Widget |
||
| 14 | { |
||
| 15 | private static $db = [ |
||
|
|
|||
| 16 | "HTML" => "HTMLText", |
||
| 17 | ]; |
||
| 18 | |||
| 19 | private static $title = "Content"; |
||
| 20 | |||
| 21 | private static $cmsTitle = "Content"; |
||
| 22 | |||
| 23 | private static $description = "Custom rich content widget."; |
||
| 24 | |||
| 25 | private static $table_name = 'ContentWidget'; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return FieldList |
||
| 29 | */ |
||
| 30 | public function getCMSFields() |
||
| 40 |