Skip to content

Kirby 6.0.1

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

Parent class

Kirby\Panel\Menu