function _google_tag_variable_info_status in GoogleTagManager 7.2
Same name and namespace in other branches
- 7 includes/variable.inc \_google_tag_variable_info_status()
Implements hook_variable_info().
File
- includes/
variable.inc, line 145 - Contains the variable definitions.
Code
function _google_tag_variable_info_status($options) {
$args = array(
'@path' => 'http://en.wikipedia.org/wiki/List_of_HTTP_status_codes',
);
$description = t('Enter one response status per line. For more information, refer to the <a href="@path">list of HTTP status codes</a>.', $args, $options);
$default = GOOGLE_TAG_STATUSES;
$rows = 5;
$toggle = 'status_toggle';
$list = 'status_list';
$plural = 'statuses';
$adjective = 'listed';
$config = compact(array(
'toggle',
'list',
'plural',
'adjective',
'description',
'default',
'rows',
));
return _google_tag_variable_info_generic($config, $options);
}