function finder_admin_add_form in Finder 6
Same name and namespace in other branches
- 7 includes/finder.admin.inc \finder_admin_add_form()
Admin finder add form.
1 string reference to 'finder_admin_add_form'
- finder_admin_list in includes/
finder.admin.inc - Admin finder list page.
File
- includes/
finder.admin.inc, line 72 - The finder admin screens.
Code
function finder_admin_add_form($form_state) {
$form = array();
$form['base'] = array(
'#type' => 'select',
'#title' => t('Add a new finder'),
'#default_value' => '',
'#options' => finder_admin_get_base_options(),
'#description' => t('Choose what kind of finder to create.'),
'#required' => TRUE,
'#weight' => 20,
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Add finder'),
'#weight' => 22,
);
return $form;
}