Skip to content

Kirby 6.0.1

$menu->defaults()

Returns a default menu config as fallback

$menu->defaults() 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.

$menu->defaults(): array

Return type

array

Parent class

Kirby\Panel\Menu