Skip to content

Kirby 5.0.4

$menu->areas()

Returns all areas that are configured for the menu

$menu->areas() 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->areas(): array

Return type

array

This method modifies the existing $menu object it is applied to and returns it again.

Parent class

Kirby\Panel\Menu