You are here

function isbn_form in ISBN Field 6.0

1 string reference to 'isbn_form'
isbn_menu in ./isbn.module
Implementation of hook_menu().

File

./isbn.module, line 183
Maintains a consistant relationship between nodes and ISBNs.

Code

function isbn_form() {
  $form['isbn'] = array(
    '#type' => 'textfield',
    '#title' => t('Give up an ISBN'),
    '#description' => t('Type in an isbn.'),
    '#required' => TRUE,
  );
  $form['submit'] = array(
    '#value' => 'go',
    '#type' => 'submit',
    '#submit' => array(
      'isbn_form_submit',
    ),
  );
  return $form;
}