function themekey_views_getq2machine_name in ThemeKey 7.2
Same name and namespace in other branches
- 7.3 modules/themekey.views.inc \themekey_views_getq2machine_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:machine_name
Parameters
$get_q: a drupal path
Return value
string or NULL if no value could be mapped
1 string reference to 'themekey_views_getq2machine_name'
- themekey_views_themekey_properties in modules/
themekey.views.inc - @file themekey.views.inc Provides some views properties
File
- modules/
themekey.views.inc, line 92 - themekey.views.inc Provides some views properties
Code
function themekey_views_getq2machine_name($get_q) {
return themekey_views_get_simple_property_by_getq($get_q, 'name');
}