Total Complexity | 1 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | class SearchAdmin extends ModelAdmin |
||
26 | { |
||
27 | /** |
||
28 | * @var array Models managed by this admin |
||
29 | */ |
||
30 | private static $managed_models = [ |
||
31 | SearchSynonym::class, |
||
32 | SolrLog::class, |
||
33 | DirtyClass::class, |
||
34 | ]; |
||
35 | |||
36 | /** |
||
37 | * @var string Add a pretty magnifying glass to the sidebar menu |
||
38 | */ |
||
39 | private static $menu_icon_class = 'font-icon-search'; |
||
40 | |||
41 | /** |
||
42 | * @var string Where to find me |
||
43 | */ |
||
44 | private static $url_segment = 'searchadmin'; |
||
45 | |||
46 | /** |
||
47 | * @var string My name |
||
48 | */ |
||
49 | private static $menu_title = 'Search'; |
||
50 | |||
51 | /** |
||
52 | * Make sure the custom CSS for highlighting in the GridField is loaded |
||
53 | */ |
||
54 | 1 | public function init() |
|
61 |