pm_Hook_Navigation
in package
implements
pm_Hook_Interface
Hook for navigation embedding
Tags
Interfaces, Classes and Traits
- pm_Hook_Interface
- Generic interface for hooks
Table of Contents
- getNavigation() : array<string|int, mixed>
- Retrieve the list of buttons
Methods
getNavigation()
Retrieve the list of buttons
public
abstract getNavigation() : array<string|int, mixed>
[
[
'controller' => string, // Action name to use when generating href to the page.
'action' => string, // Controller name to use when generating href to the page.
'pages' => [ // Child pages of the page. (optional)
...
]
],
...
]
Return values
array<string|int, mixed> —An array of pages config