MinervaNeue
A responsive mobile first skin
|
Model for a menu entry that represents a language selector for current title. More...
Public Member Functions | |
__construct (Title $title, $doesPageHaveLanguages, MessageLocalizer $messageLocalizer, $isButton=false, $classes='', $label='mobile-frontend-language-article-heading') | |
LanguageSelectorEntry constructor. | |
getName () | |
@inheritDoc | |
getCSSClasses () | |
@inheritDoc | |
getComponents () | |
@inheritDoc | |
Model for a menu entry that represents a language selector for current title.
MediaWiki\Minerva\Menu\Entries\LanguageSelectorEntry::__construct | ( | Title | $title, |
$doesPageHaveLanguages, | |||
MessageLocalizer | $messageLocalizer, | ||
$isButton = false, | |||
$classes = '', | |||
$label = 'mobile-frontend-language-article-heading' ) |
LanguageSelectorEntry constructor.
Title | $title | Current Title |
bool | $doesPageHaveLanguages | Whether the page is also available in other languages or variants |
MessageLocalizer | $messageLocalizer | Used for translation texts |
bool | $isButton | |
string | $classes | page classes |
string | $label | Menu entry label and title |
MediaWiki\Minerva\Menu\Entries\LanguageSelectorEntry::getComponents | ( | ) |
@inheritDoc
Implements MediaWiki\Minerva\Menu\Entries\IMenuEntry.
MediaWiki\Minerva\Menu\Entries\LanguageSelectorEntry::getCSSClasses | ( | ) |
@inheritDoc
Implements MediaWiki\Minerva\Menu\Entries\IMenuEntry.
MediaWiki\Minerva\Menu\Entries\LanguageSelectorEntry::getName | ( | ) |
@inheritDoc
Implements MediaWiki\Minerva\Menu\Entries\IMenuEntry.