| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class CustomiseController extends AbstractController |
||
| 9 | { |
||
| 10 | public static function __setupNavigation() |
||
| 11 | { |
||
| 12 | return [ |
||
| 13 | [ |
||
| 14 | 'type' => 'group', |
||
| 15 | 'parent' => 'root', |
||
| 16 | 'id' => 'customise', |
||
| 17 | 'title' => 'Customise', |
||
| 18 | 'icon' => 'hs-admin-brush-alt', |
||
| 19 | ], |
||
| 20 | [ |
||
| 21 | 'type' => 'link', |
||
| 22 | 'parent' => 'customise', |
||
| 23 | 'id' => 'theme', |
||
| 24 | 'title' => 'Themes', |
||
| 25 | 'href' => 'customise-theme', |
||
| 26 | 'view' => 'CustomiseController::customiseTheme', |
||
| 27 | ], |
||
| 28 | ]; |
||
| 29 | } |
||
| 30 | |||
| 31 | public static function __callNumber() |
||
| 32 | { |
||
| 33 | return 40; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function customiseTheme($navigation, Forum $forum) |
||
| 43 | ] |
||
| 44 | ); |
||
| 45 | } |
||
| 47 |