You are here

function demo_manage_form in Demonstration site (Sandbox / Snapshot) 6

Same name and namespace in other branches
  1. 7 demo.admin.inc \demo_manage_form()

Form builder to manage snapshots.

1 string reference to 'demo_manage_form'
demo_menu in ./demo.module
Implements hook_menu().

File

./demo.admin.inc, line 65
Demonstration Site administrative pages

Code

function demo_manage_form() {
  $form['dump'] = array(
    '#type' => 'fieldset',
    '#title' => t('Available snapshots'),
  );
  $form['dump'] += demo_get_dumps();
  $form['delete'] = array(
    '#type' => 'submit',
    '#value' => t('Delete'),
    '#submit' => array(
      'demo_manage_delete_submit',
    ),
  );
  return $form;
}