You are here

function backup_migrate_crud_menu in Backup and Migrate 6.2

Same name and namespace in other branches
  1. 8.2 includes/crud.inc \backup_migrate_crud_menu()
  2. 8.3 includes/crud.inc \backup_migrate_crud_menu()
  3. 6.3 includes/crud.inc \backup_migrate_crud_menu()
  4. 7.3 includes/crud.inc \backup_migrate_crud_menu()
  5. 7.2 includes/crud.inc \backup_migrate_crud_menu()

Get the menu items handled by the CRUD code.

1 call to backup_migrate_crud_menu()
backup_migrate_menu in ./backup_migrate.module
Implementation of hook_menu().

File

includes/crud.inc, line 55
CRUD functions for backup and migrate types (schedules, profiles etc.).

Code

function backup_migrate_crud_menu() {
  $items = array();
  foreach (backup_migrate_crud_types() as $type => $info) {
    $type = backup_migrate_crud_type_load($type);
    $items += (array) $type
      ->get_menu_items();
  }
  return $items;
}