function themekey_mobile_detect_api_themekey_properties in ThemeKey 7.3
Implements hook_themekey_properties().
Provides additional properties for the ThemeKey module:
- mobile_detect:is...
Return value
array of themekey properties and mapping functions
File
- modules/
themekey.mobile_detect_api.inc, line 21 - Provides mobile_detect rules as ThemeKey properties.
Code
function themekey_mobile_detect_api_themekey_properties() {
if ($mobile_detect = mobile_detect_api_get_instance()) {
return themekey_mobile_detect_api_themekey_properties_helper($mobile_detect);
}
return array(
'attributes' => array(),
'maps' => array(),
);
}