You are here

function _nodewords_init_tags_data in Nodewords: D6 Meta Tags 6.3

Same name and namespace in other branches
  1. 6.2 nodewords.module \_nodewords_init_tags_data()
1 call to _nodewords_init_tags_data()
nodewords_save_tags in ./nodewords.module
Update or insert tags in the table.

File

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

Code

function _nodewords_init_tags_data($name, array $options) {
  $row = new stdClass();
  $row->type = $options['type'];
  $row->id = $options['id'];
  $row->sid = $options['sid'];
  $row->name = $name;
  $row->language = $options['language'];
  return $row;
}