MediaWiki master
|
Inherits MediaWiki\Skin\SkinComponent.
Public Member Functions | |
__construct (Config $config, Language $language) | |
getTemplateData () | |
This returns all the data that is needed to the component.Returned array must be serialized. This will be passed directly to a template (usually Mustache) for rendering.
| |
Definition at line 29 of file SkinComponentLogo.php.
Config | $config | |
Language | $language |
Definition at line 39 of file SkinComponentLogo.php.
References MediaWiki\Language\Language\getCode().
MediaWiki\Skin\SkinComponentLogo::getTemplateData | ( | ) |
This returns all the data that is needed to the component.Returned array must be serialized. This will be passed directly to a template (usually Mustache) for rendering.
src
, width
, height
and style
keys.src
, width
, height
and style
keys. Implements MediaWiki\Skin\SkinComponent.
Definition at line 67 of file SkinComponentLogo.php.