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