function hook_mobile_theme_detection in Mobile Theme 7
Defines methods available to detect mobile devices.
Return value
An associative array whose key is the name of the function, and whose value is the human-readable name of the function. This function is called when needed to detect whether on a mobile browser. It should return TRUE if the user is on a mobile device.
1 function implements hook_mobile_theme_detection()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- mobile_theme_mobile_theme_detection in ./
mobile_theme.module - Implements hook_mobile_theme_detection().
1 invocation of hook_mobile_theme_detection()
- mobile_theme_form_system_theme_settings_alter in ./
mobile_theme.module - Alter the system theme settings form to add the mobile theme settings.
File
- ./
mobile_theme.api.php, line 17 - Hooks provided by the Mobile Theme module.
Code
function hook_mobile_theme_detection() {
return array(
'my_function_name' => 'My Function Name',
);
}