| 1 | <?php |
||
| 3 | class PageRowManagement extends ModelAdmin |
||
|
|
|||
| 4 | { |
||
| 5 | private static $managed_models = [ |
||
| 6 | 'PageRow' |
||
| 7 | ]; |
||
| 8 | |||
| 9 | private static $menu_priority = 1; |
||
| 10 | |||
| 11 | private static $url_segment = "pagerowmanagement"; |
||
| 12 | |||
| 13 | private static $menu_title = "Content Blocks"; |
||
| 14 | |||
| 15 | private static $menu_icon = 'mysite/images/treeicons/PageRowManagement.png'; |
||
| 16 | |||
| 17 | public $showImportForm = false; |
||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | } |
||
| 22 |
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.