function gtm_test_variable_realm_info in GoogleTagManager 7
Same name and namespace in other branches
- 7.2 tests/gtm_test.module \gtm_test_variable_realm_info()
Implements hook_variable_realm_info().
File
- tests/
gtm_test.module, line 15 - Provides primary Drupal hook implementations.
Code
function gtm_test_variable_realm_info() {
$realm['gtm_test'] = array(
'title' => t('GTM test realm'),
'weight' => 10,
// 'controller class' => 'VariableRealmDefaultController',
'store class' => 'VariableStoreRealmStore',
'keys' => array(
'primary' => t('Primary key variables'),
'secondary' => t('Secondary key variables'),
),
'options' => array(
'google_tag_container_id',
'google_tag_environment_id',
'google_tag_environment_token',
),
);
return $realm;
}