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(Areas|null $areas = null, array|null $config = null, array $permissions = [], string|null $current = null)
Parameters
| Name | Type | Default |
|---|---|---|
| $areas | Kirby\Panel\Areasornull |
null
|
| $config | arrayornull |
null
|
| $permissions | array |
[]
|
| $current | stringornull |
null
|