You are here

function cer_menu in Corresponding Entity References 7.3

Same name and namespace in other branches
  1. 7 cer.module \cer_menu()
  2. 7.2 cer.module \cer_menu()

Implements hook_menu().

File

./cer.module, line 49

Code

function cer_menu() {
  $info = cer_entity_info();
  $prefix = $info['cer']['admin ui']['path'];
  return array(
    "{$prefix}/update" => array(
      'title' => 'Bulk Update',
      'page callback' => 'drupal_get_form',
      'page arguments' => array(
        'cer_bulk_update_form',
      ),
      'access arguments' => array(
        'administer cer settings',
      ),
      'file' => 'cer.admin.inc',
      'type' => MENU_LOCAL_TASK,
    ),
  );
  return $items;
}