function google_tag_variable_info in GoogleTagManager 7.2
Same name and namespace in other branches
- 7 google_tag.module \google_tag_variable_info()
Implements hook_variable_info().
Deprecated
in 7.x-2.0 and is removed in release 7.x-2.1.
File
- ./
google_tag.module, line 99 - Provides primary Drupal hook implementations.
Code
function google_tag_variable_info($options) {
require_once DRUPAL_ROOT . '/includes/install.inc';
$version = (int) drupal_get_installed_schema_version('google_tag');
if ($version >= 7200) {
// After update hook finishes, remove the variable integration.
return;
}
module_load_include('inc', 'google_tag', 'includes/variable');
return _google_tag_variable_info($options + array(
'use_prefix' => TRUE,
));
}