getNavigation()
getNavigation() : array
Retrieve the list of buttons
[
[
'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)
...
]
],
...
]
Returns
array —An array of pages config