You are here

function themekey_contact_themekey_properties in ThemeKey 7.3

Implements hook_themekey_properties().

Provides additional properties for the ThemeKey module: themekey_ui:node_triggers_theme themekey_ui:author_triggers_theme

Return value

array of themekey properties

File

modules/themekey.contact.inc, line 13

Code

function themekey_contact_themekey_properties() {

  // Attributes for properties
  $attributes = array();

  // Mapping functions
  $maps = array();
  $maps[] = array(
    'src' => 'contact:uid',
    'dst' => 'themekey_ui:author_triggers_theme',
    'callback' => 'themekey_contact_uid2theme',
  );
  return array(
    'attributes' => $attributes,
    'maps' => $maps,
  );
}