You are here

function themekey_themekey_simpletest_themekey_properties in ThemeKey 7.3

Implements hook_themekey_properties().

File

modules/themekey.themekey_simpletest.inc, line 6

Code

function themekey_themekey_simpletest_themekey_properties() {

  // Attributes of properties
  $attributes = array();
  $attributes['themekey_simpletest:global_property_test'] = array(
    'description' => t('Simpletest: global property test - value is 1.'),
    'validator' => 'themekey_validator_ctype_digit',
    'page cache' => THEMEKEY_PAGECACHE_UNSUPPORTED,
  );
  $attributes['themekey_simpletest:custom_theme_alter_test'] = array(
    'description' => t('Simpletest: gcustom theme alter test - value is 1.'),
    'validator' => 'themekey_validator_ctype_digit',
    'page cache' => THEMEKEY_PAGECACHE_UNSUPPORTED,
  );
  $maps = array();
  return array(
    'attributes' => $attributes,
    'maps' => $maps,
  );
}