$menu->entry()
Transforms an area definition into a menu entry
$menu->entry()
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->entry(array $area): array|false
Parameters
Name | Type | Default |
---|---|---|
$arearequired | array |
no default value |
Return types
array
orfalse
This method modifies the existing $menu
object it is applied to and returns it again.