MinervaNeue
A responsive mobile first skin
|
Model for a menu entry. More...
Public Member Functions | |
getName () | |
Get the menu entry name/identifier. | |
getCSSClasses () | |
Get the CSS classes that should be applied to the element. | |
getComponents () | |
Returns the list of components of the menu entry. | |
Model for a menu entry.
MediaWiki\Minerva\Menu\Entries\IMenuEntry::getComponents | ( | ) |
Returns the list of components of the menu entry.
Each component is an array of HTML attributes with at least:
Implemented in MediaWiki\Minerva\Menu\Entries\CompositeMenuEntry, MediaWiki\Minerva\Menu\Entries\LanguageSelectorEntry, MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry, and MediaWiki\Minerva\Menu\Entries\SingleMenuEntry.
MediaWiki\Minerva\Menu\Entries\IMenuEntry::getCSSClasses | ( | ) |
Get the CSS classes that should be applied to the element.
Implemented in MediaWiki\Minerva\Menu\Entries\CompositeMenuEntry, MediaWiki\Minerva\Menu\Entries\LanguageSelectorEntry, MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry, and MediaWiki\Minerva\Menu\Entries\SingleMenuEntry.
MediaWiki\Minerva\Menu\Entries\IMenuEntry::getName | ( | ) |
Get the menu entry name/identifier.
Implemented in MediaWiki\Minerva\Menu\Entries\AuthMenuEntry, MediaWiki\Minerva\Menu\Entries\LanguageSelectorEntry, MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry, and MediaWiki\Minerva\Menu\Entries\SingleMenuEntry.