finder_admin_add_form

  1. finder
    1. 6.x-1.x
    2. 7.x-1.x
Versions
6.x-1.x finder_admin_add_form($form_state)
7.x-1.x finder_admin_add_form($form, &$form_state)

Admin finder add form.

Code

includes/finder.admin.inc, line 70

<?php
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;
}
?>

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.