| 1 | <?php |
||
| 3 | class ElementalAdmin extends ModelAdmin { |
||
|
|
|||
| 4 | |||
| 5 | private static $managed_models = array( |
||
| 6 | 'BaseElement' |
||
| 7 | ); |
||
| 8 | |||
| 9 | private static $menu_title = 'Content Blocks'; |
||
| 10 | |||
| 11 | private static $url_segment = 'elemental'; |
||
| 12 | |||
| 13 | private static $menu_icon = "elemental/images/blocks.svg"; |
||
| 14 | |||
| 15 | public function getEditForm($id = null, $fields = null) { |
||
| 25 | } |
||
| 26 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.