new Menu()
new Menu()
has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
new Menu(array $areas = [ ], array $permissions = [ ], string|null $current = null)
Parameters
Name | Type | Default |
---|---|---|
$areas | array |
[ ]
|
$permissions | array |
[ ]
|
$current | string ornull |
null
|