phpBB API Documentation
Class

phpbb\install\helper\navigation\install_navigation

class install_navigation implements navigation_interface

Methods

__construct(install_helper $install_helper)

Constructor

array get()

Returns an array with the navigation items

Details

at line 30
public __construct(install_helper $install_helper)

Constructor

Parameters

install_helper $install_helper

at line 38
public array get()

Returns an array with the navigation items

The returned array should have the following format: array( 'parentnavname' => array( 'navname' => array( 'label' => 'MYMENU', 'route' => 'phpbbroutename', ) ) )

Navigation item setting options: - label: The language variable name - route: Name of the route which it is belongs to

Return Value

array