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

Director responsible for building the user menu. More...

Public Member Functions

 __construct (IUserMenuBuilder $builder, MessageLocalizer $localizer)
 
 renderMenuData (array $personalTools)
 Build the menu data array that can be passed to views/javascript.
 

Detailed Description

Director responsible for building the user menu.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Minerva\Menu\User\UserMenuDirector::__construct ( IUserMenuBuilder $builder,
MessageLocalizer $localizer )
Parameters
IUserMenuBuilder$builder
MessageLocalizer$localizer

Member Function Documentation

◆ renderMenuData()

MediaWiki\Minerva\Menu\User\UserMenuDirector::renderMenuData ( array $personalTools)

Build the menu data array that can be passed to views/javascript.

Parameters
array$personalToolsPersonal tools list generated by Skin::buildPersonalUrls
Returns
string|null

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