You are here

function nodewords_extra_dc_publisher_form in Nodewords: D6 Meta Tags 6.2

Same name and namespace in other branches
  1. 6 nodewords_extra/nodewords_extra.module \nodewords_extra_dc_publisher_form()

Set the form fields used to implement the options for the meta tag.

File

nodewords_extra/includes/nodewords_extra.nodewords.tags.inc, line 160
Nodewords support file.

Code

function nodewords_extra_dc_publisher_form(&$form, $content, $options) {
  $form['dc.publisher'] = array(
    '#tree' => TRUE,
  );
  $form['dc.publisher']['value'] = array(
    '#type' => 'textfield',
    '#title' => t('Dublin Core publisher'),
    '#description' => t('Enter a name of an entity responsible for making the resource available. Examples of a publisher include a person, an organization, or a service.') . $options['description'],
    '#default_value' => empty($content['value']) ? '' : $content['value'],
    '#maxlength' => variable_get('nodewords_max_size', 350),
  );
}