function nodewords_basic_abstract_form in Nodewords: D6 Meta Tags 6.3
Same name and namespace in other branches
- 6 nodewords_basic/nodewords_basic.module \nodewords_basic_abstract_form()
- 6.2 nodewords_basic/includes/nodewords_basic.nodewords.tags.inc \nodewords_basic_abstract_form()
Set the form fields used to implement the options for the meta tag.
File
- nodewords_basic/
includes/ nodewords_basic.nodewords.tags.inc, line 11 - Meta tags definition file.
Code
function nodewords_basic_abstract_form(&$form, $content, $options) {
$form['abstract'] = array(
'#tree' => TRUE,
);
$form['abstract']['value'] = array(
'#type' => 'textfield',
'#title' => t('Abstract'),
'#description' => t('Enter a short abstract. Typically it is one sentence.') . $options['description'],
'#default_value' => empty($content['value']) ? '' : $content['value'],
'#maxlength' => variable_get('nodewords_max_size', 350),
);
}