You are here

function _nodewords_get_default_metatags_type in Nodewords: D6 Meta Tags 6.3

Same name and namespace in other branches
  1. 6.2 nodewords.module \_nodewords_get_default_metatags_type()

Return the default values that identify the object associated with the meta tags.

Return value

An array containing the indexes 'type', 'sid', and 'id'.

6 calls to _nodewords_get_default_metatags_type()
nodewords_admin_tags_edit_form in nodewords_admin/nodewords_admin.admin.inc
Meta tags edit form.
nodewords_load_tags in ./nodewords.module
Load tags from table.
nodewords_replace_tokens in ./nodewords.module
Create the content of a meta tag from a node teaser.
nodewords_save_tags in ./nodewords.module
Update or insert tags in the table.
nodewords_tags_edit_fields in ./nodewords.module
Return the form used to set the meta tags values.

... See full list

File

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

Code

function _nodewords_get_default_metatags_type() {
  return array(
    'type' => NODEWORDS_TYPE_DEFAULT,
    'id' => 0,
    'sid' => 0,
    'language' => '',
  );
}