MinervaNeue
A responsive mobile first skin
Loading...
Searching...
No Matches
MediaWiki\Minerva\Menu\Main\MainMenuDirector Class Reference

Director responsible for building Main Menu. More...

Public Member Functions

 __construct (IMainMenuBuilder $builder)
 Director responsible for Main Menu building.
 
 getMenuData (array $contentNavUrls, array $sidebar)
 Returns a data representation of the main menus.
 

Detailed Description

Director responsible for building Main Menu.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Minerva\Menu\Main\MainMenuDirector::__construct ( IMainMenuBuilder $builder)

Director responsible for Main Menu building.

Parameters
IMainMenuBuilder$builder

Member Function Documentation

◆ getMenuData()

MediaWiki\Minerva\Menu\Main\MainMenuDirector::getMenuData ( array $contentNavUrls,
array $sidebar )

Returns a data representation of the main menus.

Parameters
array$contentNavUrlsresult of buildContentNavigationUrls
array$sidebar
Returns
array

The documentation for this class was generated from the following file: