1 | <?php |
||
6 | class ThemeCustomiserAdmin extends ModelAdmin |
||
|
|||
7 | { |
||
8 | private static $url_segment = 'theme'; |
||
9 | |||
10 | private static $menu_title = 'Design'; |
||
11 | |||
12 | private static $managed_models = array('ThemeCustomisation'); |
||
13 | |||
14 | // private static $menu_priority = 300; |
||
15 | |||
16 | private static $menu_icon = 'themecustomisation/images/treeicons/ThemeCustomiserAdmin-file.gif'; |
||
17 | |||
18 | } |
||
19 |
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.