function themekey_overlay_dummy2mode in ThemeKey 7.2
Same name and namespace in other branches
- 7.3 modules/themekey.overlay.inc \themekey_overlay_dummy2mode()
ThemeKey mapping function to set a ThemeKey property's value (destination) with the aid of another ThemeKey property (source).
src: system:dummy dst: overlay:mode
Parameters
$nid: a node id
Return value
string
1 string reference to 'themekey_overlay_dummy2mode'
- themekey_overlay_themekey_properties in modules/
themekey.overlay.inc - Implements hook_themekey_properties().
File
- modules/
themekey.overlay.inc, line 55 - Provides some og attributes as ThemeKey properties.
Code
function themekey_overlay_dummy2mode() {
// hook_init() is called after hook_custom_theme()
overlay_init();
return overlay_get_mode();
}