You are here

function bulk_export_menu in Chaos Tool Suite (ctools) 7

Same name and namespace in other branches
  1. 6 bulk_export/bulk_export.module \bulk_export_menu()

Implements hook_menu().

File

bulk_export/bulk_export.module, line 23
Perform bulk exports.

Code

function bulk_export_menu() {
  $items['admin/structure/bulk-export'] = array(
    'title' => 'Bulk Exporter',
    'description' => 'Bulk-export multiple CTools-handled data objects to code.',
    'access arguments' => array(
      'use bulk exporter',
    ),
    'page callback' => 'bulk_export_export',
  );
  $items['admin/structure/bulk-export/results'] = array(
    'access arguments' => array(
      'use bulk exporter',
    ),
    'page callback' => 'bulk_export_export',
    'type' => MENU_CALLBACK,
  );
  return $items;
}