MinervaNeue
A responsive mobile first skin
Loading...
Searching...
No Matches
MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry Class Reference

Note this is used by Extension:GrowthExperiments. More...

+ Inheritance diagram for MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry:
+ Collaboration diagram for MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry:

Public Member Functions

 __construct (UserIdentity $user)
 
 getName ()
 @inheritDoc
 
 overrideProfileURL ( $customURL, $customLabel=null, $trackingCode=null)
 @inheritDoc
 
 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.
 

Detailed Description

Note this is used by Extension:GrowthExperiments.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry::__construct ( UserIdentity $user)
Parameters
UserIdentity$userCurrently logged in user/anon

Member Function Documentation

◆ getComponents()

MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry::getComponents ( )

◆ getCSSClasses()

MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry::getCSSClasses ( )

◆ getName()

MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry::getName ( )

◆ overrideProfileURL()

MediaWiki\Minerva\Menu\Entries\ProfileMenuEntry::overrideProfileURL ( $customURL,
$customLabel = null,
$trackingCode = null )

The documentation for this class was generated from the following file: