You are here

function backup_migrate_destination_nodesquirrel::get_menu_items in Backup and Migrate 8.3

Same name and namespace in other branches
  1. 6.3 includes/destinations.nodesquirrel.inc \backup_migrate_destination_nodesquirrel::get_menu_items()

Get the menu items for manipulating this type.

Overrides backup_migrate_destination::get_menu_items

File

includes/destinations.nodesquirrel.inc, line 332
Functions to handle the NodeSquirrel backup destination.

Class

backup_migrate_destination_nodesquirrel
A destination for sending database backups to the NodeSquirel backup service.

Code

function get_menu_items() {
  $items = array();
  $path = BACKUP_MIGRATE_MENU_PATH . '/nodesquirrel';
  $items[$path] = array(
    'title' => t('NodeSquirrel'),
    'page callback' => 'backup_migrate_menu_callback',
    'page arguments' => array(
      'destinations.nodesquirrel',
      'backup_migrate_nodesquirrel_settings',
    ),
    'access arguments' => array(
      'administer backup and migrate',
    ),
    'weight' => 10,
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}