function biblio_form_types_add in Bibliography Module 5
1 string reference to 'biblio_form_types_add'
- biblio_menu in ./
biblio.module - Implementation of hook_menu().
File
- ./
biblio.module, line 889
Code
function biblio_form_types_add() {
$form['type_name'] = array(
'#type' => 'textfield',
'#title' => t('Type Name'),
'#size' => 20,
'#weight' => 1,
'#required' => true,
'#maxlength' => 64,
);
$form['type_description'] = array(
'#type' => 'textfield',
'#title' => t('Description'),
'#size' => 60,
'#weight' => 2,
'#maxlength' => 255,
);
$form['type_button'] = array(
'#type' => 'submit',
'#value' => t('Create New Type'),
'#weight' => 3,
);
return $form;
}