You are here

function demo_manage in Demonstration site (Sandbox / Snapshot) 5

1 string reference to 'demo_manage'
demo_menu in ./demo.module
Implementation of hook_menu().

File

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

Code

function demo_manage() {
  $form['dump'] = array(
    '#type' => 'fieldset',
    '#title' => t('Available snapshots'),
  );
  $form = array_merge_recursive($form, demo_get_dumps());
  $form[] = array(
    '#type' => 'submit',
    '#value' => t('Use for cron runs'),
  );
  $form[] = array(
    '#type' => 'submit',
    '#value' => t('Delete'),
  );
  return $form;
}