You are here

function nodewords_extra_form_nodewords_settings_form_alter in Nodewords: D6 Meta Tags 6

Same name and namespace in other branches
  1. 6.2 nodewords_extra/nodewords_extra.module \nodewords_extra_form_nodewords_settings_form_alter()

Implements hook_form_FORM_ID_alter().

Provide an option to automatically add the DC schema meta tag.

File

nodewords_extra/nodewords_extra.module, line 200
Define extra meta tags for Drupal pages.

Code

function nodewords_extra_form_nodewords_settings_form_alter(&$form, &$form_state) {
  $form['metatags_creation']['nodewords_add_dc_schema'] = array(
    '#type' => 'checkbox',
    '#title' => t('Add the Dublin Core schema meta tag'),
    '#default_value' => variable_get('nodewords_add_dc_schema', FALSE),
  );
}