You are here

function theme_simplemeta_meta_keywords in Simple Meta 7

Same name and namespace in other branches
  1. 6.2 simplemeta.theme.inc \theme_simplemeta_meta_keywords()

Theme meta keywords for output in the page's head.

File

./simplemeta.theme.inc, line 66
Theming

Code

function theme_simplemeta_meta_keywords($vars) {
  $meta = $vars['meta'];
  if (!empty($meta->data['keywords'])) {
    return '<meta name="keywords" content="' . check_plain(trim(strip_tags(decode_entities($meta->data['keywords'])))) . '" />';
  }
  return '';
}