function hook_nodewords_tags_alter in Nodewords: D6 Meta Tags 6.2
Same name and namespace in other branches
- 6 nodewords.api.php \hook_nodewords_tags_alter()
Alters the meta tags content.
Parameters
&$tags: The array of meta tags values.
$parameters: An array of parameters. The currently defined are:
- type - the type of object for the page to which the meta tags are associated.
- ids - the array of IDs for the object associated with the page.
- output - where the meta tags are being output; the parameter value can 'head' or 'update index'.
1 invocation of hook_nodewords_tags_alter()
- nodewords_preprocess_page in ./
nodewords.module - Implements hook_preprocess_page().
File
- ./
nodewords.api.php, line 182 - . Nodewords hooks.
Code
function hook_nodewords_tags_alter(&$tags, $parameters) {
if (empty($output['abstract']) && $parameters['type'] == NODEWORDS_TYPE_PAGE) {
$output['abstract'] = t('Node content');
}
}