MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onPreferencesGetLayout (&$useMobileLayout, $skinName, $skinProperties=[]) | |
Use the hook to check if the preferences will have a mobile or desktop layout. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PreferencesGetLayout" to register handlers implementing this interface.
Definition at line 12 of file PreferencesGetLayoutHook.php.
MediaWiki\Hook\PreferencesGetLayoutHook::onPreferencesGetLayout | ( | & | $useMobileLayout, |
$skinName, | |||
$skinProperties = [] ) |
Use the hook to check if the preferences will have a mobile or desktop layout.
bool | &$useMobileLayout | a boolean which will indicate whether to use a mobile layout or not |
string | $skinName | the name of the skin being used |
array | $skinProperties | an associative array that includes skin properties. A skin property could be one of the following:
|
Implemented in MediaWiki\HookContainer\HookRunner.