MinervaNeue
A responsive mobile first skin
|
Model for a menu entry that represents log-in / profile+logout pair of links. More...
Public Member Functions | |
__construct (UserIdentity $user, MessageLocalizer $messageLocalizer, array $authLinksQuery) | |
Initialize the Auth menu entry. | |
getName () | |
@inheritDoc | |
overrideProfileURL ( $customURL, $customLabel=null, $trackingCode=null) | |
@inheritDoc | |
Public Member Functions inherited from MediaWiki\Minerva\Menu\Entries\CompositeMenuEntry | |
__construct (array $entries) | |
getCSSClasses () | |
@inheritDoc | |
getComponents () | |
@inheritDoc | |
Additional Inherited Members | |
Public Attributes inherited from MediaWiki\Minerva\Menu\Entries\IProfileMenuEntry | |
const | DEFAULT_PROFILE_TRACKING_CODE = 'profile' |
Default tracking code for clicks on profile menu link. | |
Model for a menu entry that represents log-in / profile+logout pair of links.
MediaWiki\Minerva\Menu\Entries\AuthMenuEntry::__construct | ( | UserIdentity | $user, |
MessageLocalizer | $messageLocalizer, | ||
array | $authLinksQuery ) |
Initialize the Auth menu entry.
UserIdentity | $user | Currently logged in user/anon |
MessageLocalizer | $messageLocalizer | used for text translation |
array | $authLinksQuery | Mapping of URI query parameter names to values. |
MediaWiki\Minerva\Menu\Entries\AuthMenuEntry::getName | ( | ) |
@inheritDoc
Implements MediaWiki\Minerva\Menu\Entries\IMenuEntry.
MediaWiki\Minerva\Menu\Entries\AuthMenuEntry::overrideProfileURL | ( | $customURL, | |
$customLabel = null, | |||
$trackingCode = null ) |
@inheritDoc
Implements MediaWiki\Minerva\Menu\Entries\IProfileMenuEntry.