MinervaNeue
A responsive mobile first skin
|
Director responsible for building Page Actions menu. More...
Public Member Functions | |
__construct (ToolbarBuilder $toolbarBuilder, IOverflowBuilder $overflowBuilder, MessageLocalizer $messageLocalizer) | |
Director responsible for Page Actions menu building. | |
buildMenu (array $toolbox, array $actions, array $views) | |
Build the menu data array that can be passed to views/javascript. | |
Director responsible for building Page Actions menu.
This class is stateless.
MediaWiki\Minerva\Menu\PageActions\PageActionsDirector::__construct | ( | ToolbarBuilder | $toolbarBuilder, |
IOverflowBuilder | $overflowBuilder, | ||
MessageLocalizer | $messageLocalizer ) |
Director responsible for Page Actions menu building.
ToolbarBuilder | $toolbarBuilder | |
IOverflowBuilder | $overflowBuilder | The overflow menu builder |
MessageLocalizer | $messageLocalizer | Message localizer used to translate texts |
MediaWiki\Minerva\Menu\PageActions\PageActionsDirector::buildMenu | ( | array | $toolbox, |
array | $actions, | ||
array | $views ) |
Build the menu data array that can be passed to views/javascript.
array | $toolbox | An array of common toolbox items from the sidebar menu |
array | $actions | An array of actions usually bucketed under the more menu |
array | $views | An array of actions usually bucketed under the view menu |