|
static | getDonateGroup (Definitions $definitions, $includeDonateLink) |
| Prepares donate group if available.
|
|
static | getDiscoveryTools (Definitions $definitions, array $navigationTools) |
| Prepares a list of links that have the purpose of discovery in the main navigation menu.
|
|
static | getConfigurationTools (Definitions $definitions, $showMobileOptions) |
| Like SkinMinerva::getDiscoveryTools and #getPersonalTools , create a group of configuration-related menu items.
|
|
static | getSiteLinks (Definitions $definitions) |
| Returns an array of sitelinks to add into the main menu footer.
|
|
◆ getConfigurationTools()
static MediaWiki\Minerva\Menu\Main\BuilderUtil::getConfigurationTools |
( |
Definitions | $definitions, |
|
|
| $showMobileOptions ) |
|
static |
Like SkinMinerva::getDiscoveryTools
and #getPersonalTools
, create a group of configuration-related menu items.
Currently, only the Settings menu item is in the group.
- Parameters
-
Definitions | $definitions | A menu items definitions set |
bool | $showMobileOptions | Show MobileOptions instead of Preferences |
- Returns
- Group
◆ getDiscoveryTools()
static MediaWiki\Minerva\Menu\Main\BuilderUtil::getDiscoveryTools |
( |
Definitions | $definitions, |
|
|
array | $navigationTools ) |
|
static |
Prepares a list of links that have the purpose of discovery in the main navigation menu.
- Parameters
-
Definitions | $definitions | A menu items definitions set |
array | $navigationTools | |
- Returns
- Group
◆ getDonateGroup()
static MediaWiki\Minerva\Menu\Main\BuilderUtil::getDonateGroup |
( |
Definitions | $definitions, |
|
|
| $includeDonateLink ) |
|
static |
Prepares donate group if available.
- Parameters
-
Definitions | $definitions | A menu items definitions set |
bool | $includeDonateLink | whether to include it or not. |
- Returns
- Group
◆ getSiteLinks()
static MediaWiki\Minerva\Menu\Main\BuilderUtil::getSiteLinks |
( |
Definitions | $definitions | ) |
|
|
static |
Returns an array of sitelinks to add into the main menu footer.
- Parameters
-
Definitions | $definitions | A menu items definitions set |
- Returns
- Group Collection of site links
The documentation for this class was generated from the following file: