You are here

function themekey_views_getq2human_name in ThemeKey 7.2

Same name and namespace in other branches
  1. 7.3 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
@file themekey.views.inc Provides some views properties

File

modules/themekey.views.inc, line 111
themekey.views.inc Provides some views properties

Code

function themekey_views_getq2human_name($get_q) {
  return themekey_views_get_simple_property_by_getq($get_q, 'human_name');
}