You are here

function theme_metatag_http_equiv in Metatag 7

Theme callback for a normal meta tag.

The format is: <meta http-equiv="[name]" content="[value]" />

2 theme calls to theme_metatag_http_equiv()
metatag_metatag_info in ./metatag.metatag.inc
Implements hook_metatag_info().
metatag_mobile_metatag_info in metatag_mobile/metatag_mobile.metatag.inc
Implements hook_metatag_info().

File

./metatag.theme.inc, line 31
Theme callbacks for the metatag module.

Code

function theme_metatag_http_equiv($variables) {
  $element =& $variables['element'];
  $args = array(
    '#name' => 'http-equiv',
    '#value' => 'content',
  );
  element_set_attributes($element, $args);
  unset($element['#value']);
  return theme('html_tag', $variables);
}