function themekey_views_getq2human_name in ThemeKey 7.3
Same name and namespace in other branches
- 7.2 modules/themekey.views.inc \themekey_views_getq2human_name()
ThemeKey mapping function to set a ThemeKey property's value (destination) with the aid of another ThemeKey property (source).
src: drupal:get_q dst: views:human_name
Parameters
$get_q: a drupal path
Return value
string or NULL if no value could be mapped
1 string reference to 'themekey_views_getq2human_name'
- themekey_views_themekey_properties in modules/
themekey.views.inc - Implements hook_themekey_properties().
File
- modules/
themekey.views.inc, line 122 - Provides some views properties
Code
function themekey_views_getq2human_name($get_q) {
return themekey_views_get_simple_property_by_getq($get_q, 'human_name');
}