interface navigation_interface

Interface for installer's navigation defining services

Methods

array
get()

Returns an array with the navigation items

Details

at line 42
array get()

Returns an array with the navigation items

The returned array should have the following format:

array(
    'parent_nav_name' => array(
        'nav_name' => array(
            'label' => 'MY_MENU',
            'route' => 'phpbb_route_name',
        )
    )
)

Navigation item setting options:

  • label: The language variable name
  • route: Name of the route which it is belongs to

Return Value

array