function simplemeta_form_keywords in Simple Meta 7
Same name and namespace in other branches
- 6.2 simplemeta.module \simplemeta_form_keywords()
Meta keywords form element callback.
Parameters
object $meta: meta object
Return value
array form element
1 string reference to 'simplemeta_form_keywords'
- simplemeta_simplemeta_info in ./
simplemeta.module - Implements hook_simplemeta_info().
File
- ./
simplemeta.module, line 238 - SimpleMeta module.
Code
function simplemeta_form_keywords($meta) {
$form = array(
'#type' => 'textfield',
'#title' => t('Keywords'),
'#maxlength' => 255,
'#default_value' => isset($meta->data['keywords']) ? $meta->data['keywords'] : '',
);
return $form;
}