1 config.module config_menu()

Implements hook_menu().

File

core/modules/config/config.module, line 10
Allows site administrators to modify configuration.

Code

function config_menu() {
  $items['admin/config/development/configuration'] = array(
    'title' => 'Configuration management',
    'description' => 'Import, export, and synchronize your configuration changes between different installations of your site, such as in development, staging, and production environments.',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('config_sync_form'),
    'access arguments' => array('synchronize configuration'),
    'file' => 'config.admin.inc',
  );
  $items['admin/config/development/configuration/sync'] = array(
    'title' => 'Synchronize',
    'type' => MENU_DEFAULT_LOCAL_TASK,
    'weight' => 0,
  );
  $items['admin/config/development/configuration/sync/diff'] = array(
    'title' => 'Configuration diff',
    'page callback' => 'config_diff_page',
    'access arguments' => array('synchronize configuration'),
    'file' => 'config.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  $items['admin/config/development/configuration/single'] = array(
    'title' => 'Single Import/Export',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('config_import_single_form'),
    'access arguments' => array('synchronize configuration'),
    'file' => 'config.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
  );
  $items['admin/config/development/configuration/single/import'] = array(
    'title' => 'Import',
    'type' => MENU_DEFAULT_LOCAL_TASK,
  );
  $items['admin/config/development/configuration/single/export'] = array(
    'title' => 'Export',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('config_export_single_form'),
    'access arguments' => array('synchronize configuration'),
    'file' => 'config.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
  );
  $items['admin/config/development/configuration/full'] = array(
    'title' => 'Full Import/Export',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('config_import_full_form'),
    'access arguments' => array('synchronize configuration'),
    'file' => 'config.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 2,
  );
  $items['admin/config/development/configuration/full/import'] = array(
    'title' => 'Import',
    'type' => MENU_DEFAULT_LOCAL_TASK,
  );
  $items['admin/config/development/configuration/full/export'] = array(
    'title' => 'Export',
    'page callback' => 'backdrop_get_form',
    'page arguments' => array('config_export_full_form'),
    'access arguments' => array('synchronize configuration'),
    'file' => 'config.admin.inc',
    'type' => MENU_LOCAL_TASK,
    'weight' => 1,
  );
  $items['admin/config/development/configuration/full/export-download'] = array(
    'page callback' => 'config_download_full_export',
    'access arguments' => array('synchronize configuration'),
    'file' => 'config.admin.inc',
    'type' => MENU_CALLBACK,
  );
  return $items;
}