function nodewords_extra_dc_contributor_prepare in Nodewords: D6 Meta Tags 6
Same name and namespace in other branches
- 6.2 nodewords_extra/includes/nodewords_extra.nodewords.tags.inc \nodewords_extra_dc_contributor_prepare()
Set the meta tag content.
File
- nodewords_extra/
nodewords_extra.module, line 265 - Define extra meta tags for Drupal pages.
Code
function nodewords_extra_dc_contributor_prepare(&$tags, $content, $options) {
if (!empty($content['value'])) {
$tags['dcterms.contributor'] = $content['value'];
}
elseif (!empty($options['default']['dcterms.contributor']['value'])) {
$tags['dcterms.contributor'] = $options['default']['dcterms.contributor']['value'];
}
}