Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 882 Bytes

menus.md

File metadata and controls

53 lines (37 loc) · 882 Bytes

application.menus

Set application menus.

Options;

<?php

return [
    'application.menus' => [
        '$name' => (boolean|string) $enable|$name
    ],
];

Examples;

Register

<?php

return [
    'application.menus' => [
        'main' => true,
        'side' => 'Sidebar'
    ],
];

Passing in true will use the key in studly case. main_menu displays as Main Menu.

Remove;

<?php

return [
    'application.menus' => [
        'primary_navigation' => false,
    ],
];

Further Reading;

Bug?