MinervaNeue
A responsive mobile first skin
|
Used to build default (available for everyone by default) main menu. More...
Public Member Functions | |
__construct ( $showMobileOptions, $showDonateLink, User $user, Definitions $definitions, UserIdentityUtils $userIdentityUtils) | |
Initialize the Default Main Menu builder. | |
getDiscoveryGroup (array $navigationTools) | |
@inheritDoc | |
getDonateGroup () | |
@inheritDoc | |
getInteractionToolsGroup () | |
@inheritDoc | |
getSiteLinks () | |
@inheritDoc | |
getSettingsGroup () | |
Builds the anonymous settings group. | |
getPersonalToolsGroup (array $personalTools) | |
Builds the personal tools menu item group. | |
Used to build default (available for everyone by default) main menu.
MediaWiki\Minerva\Menu\Main\DefaultMainMenuBuilder::__construct | ( | $showMobileOptions, | |
$showDonateLink, | |||
User | $user, | ||
Definitions | $definitions, | ||
UserIdentityUtils | $userIdentityUtils ) |
Initialize the Default Main Menu builder.
bool | $showMobileOptions | Show MobileOptions instead of Preferences |
bool | $showDonateLink | whether to show the donate link |
User | $user | The current user |
Definitions | $definitions | A menu items definitions set |
UserIdentityUtils | $userIdentityUtils |
MediaWiki\Minerva\Menu\Main\DefaultMainMenuBuilder::getDiscoveryGroup | ( | array | $navigationTools | ) |
@inheritDoc
Implements MediaWiki\Minerva\Menu\Main\IMainMenuBuilder.
MediaWiki\Minerva\Menu\Main\DefaultMainMenuBuilder::getDonateGroup | ( | ) |
@inheritDoc
Implements MediaWiki\Minerva\Menu\Main\IMainMenuBuilder.
MediaWiki\Minerva\Menu\Main\DefaultMainMenuBuilder::getInteractionToolsGroup | ( | ) |
@inheritDoc
Implements MediaWiki\Minerva\Menu\Main\IMainMenuBuilder.
MediaWiki\Minerva\Menu\Main\DefaultMainMenuBuilder::getPersonalToolsGroup | ( | array | $personalTools | ) |
Builds the personal tools menu item group.
... by adding the Watchlist, Settings, and Log{in,out} menu items in the given order.
@inheritDoc
Implements MediaWiki\Minerva\Menu\Main\IMainMenuBuilder.
MediaWiki\Minerva\Menu\Main\DefaultMainMenuBuilder::getSettingsGroup | ( | ) |
Builds the anonymous settings group.
@inheritDoc
Implements MediaWiki\Minerva\Menu\Main\IMainMenuBuilder.
MediaWiki\Minerva\Menu\Main\DefaultMainMenuBuilder::getSiteLinks | ( | ) |
@inheritDoc
Implements MediaWiki\Minerva\Menu\Main\IMainMenuBuilder.