You are here

function finder_admin_add_form in Finder 7

Same name and namespace in other branches
  1. 6 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 70
The finder admin screens.

Code

function finder_admin_add_form($form, &$form_state) {
  $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,
  );
  $form['actions'] = array(
    '#type' => 'actions',
  );
  $form['actions']['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Add finder'),
  );
  return $form;
}