You are here

function themekey_node_themekey_properties in ThemeKey 6

Same name and namespace in other branches
  1. 6.4 modules/themekey.node.inc \themekey_node_themekey_properties()
  2. 6.2 modules/themekey.node.inc \themekey_node_themekey_properties()
  3. 6.3 modules/themekey.node.inc \themekey_node_themekey_properties()
  4. 7.3 modules/themekey.node.inc \themekey_node_themekey_properties()
  5. 7 modules/themekey.node.inc \themekey_node_themekey_properties()
  6. 7.2 modules/themekey.node.inc \themekey_node_themekey_properties()

File

modules/themekey.node.inc, line 3

Code

function themekey_node_themekey_properties() {

  // Attributes for properties
  $attributes = array();
  $attributes['node:changed'] = array(
    'description' => t('Node: Changed date'),
  );
  $attributes['node:created'] = array(
    'description' => t('Node: Created date'),
  );
  $attributes['node:language'] = array(
    'description' => t('Node: Language'),
  );
  $attributes['node:nid'] = array(
    'description' => t('Node: ID'),
  );
  $attributes['node:promote'] = array(
    'description' => t('Node: Promoted'),
  );
  $attributes['node:sticky'] = array(
    'description' => t('Node: Sticky'),
  );
  $attributes['node:type'] = array(
    'description' => t('Node: Type'),
  );
  $attributes['node:uid'] = array(
    'description' => t('Node: User ID'),
  );
  return array(
    'attributes' => $attributes,
  );
}