1 backup_test.module backup_test_menu()

Implements hook_menu().

File

core/modules/simpletest/tests/backup_test/backup_test.module, line 10
Test module for verifying backup capabilities.

Code

function backup_test_menu() {
  $items = array();

  $items['backup-test'] = array(
    'title' => 'Backup test form',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('backup_test_settings_form'),
    // There is no separate permission for creating backups.
    'access arguments' => array('restore site backups'),
    'type' => MENU_CALLBACK,
  );

  return $items;
}