You are here

function nodewords_node_type in Nodewords: D6 Meta Tags 6.2

Same name and namespace in other branches
  1. 6 nodewords.module \nodewords_node_type()

Implements hook_node_type().

File

./nodewords.module, line 46
Implement an API that other modules can use to add meta tags.

Code

function nodewords_node_type($op, $info) {
  if ($op == 'delete') {
    $variables = array(
      'nodewords_filter_modules_output_',
      'nodewords_filter_regexp_',
      'nodewords_use_alt_attr_',
    );
    foreach ($variables as $variable) {
      variable_del($variable . $info->type);
    }
  }
}