Total Complexity | 0 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class PromosAdmin extends ModelAdmin |
||
13 | { |
||
14 | /** |
||
15 | * @var array |
||
16 | */ |
||
17 | private static $managed_models = [ |
||
|
|||
18 | PromoObject::class => [ |
||
19 | 'title' => 'Promos', |
||
20 | ], |
||
21 | ]; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private static $url_segment = 'promos'; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | private static $menu_title = 'Promos'; |
||
32 | } |
||
33 |