function oa_export_menu in Open Atrium Export 7.2
Implements hook_menu().
File
- ./
oa_export.module, line 28
Code
function oa_export_menu() {
return array(
'blueprint/download/%taxonomy_term' => array(
'title' => 'Blueprint Download',
'access callback' => 'user_access',
'access arguments' => array(
'download blueprint',
),
'page callback' => 'oa_export_batch_export',
'page arguments' => array(
2,
),
'type' => MENU_CALLBACK,
),
'blueprint/export/%taxonomy_term' => array(
'title' => 'Blueprint Export',
'description' => 'Exports you blueprint to a module.',
'access callback' => 'user_access',
'access arguments' => array(
'export blueprint',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'oa_export_generate_module_form',
2,
),
'type' => MENU_CALLBACK,
),
'blueprint/import' => array(
'title' => 'Blueprint Import',
'access callback' => 'user_access',
'access arguments' => array(
'import blueprint',
),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'oa_export_blueprint_import_form',
),
'type' => MENU_LOCAL_ACTION,
),
'oa_export/download' => array(
'title' => 'Blueprint Download',
'access callback' => 'user_access',
'access arguments' => array(
'export blueprint',
),
'page callback' => 'oa_export_batch_file_download_finished_redirect',
),
);
}