function cer_menu in Corresponding Entity References 7.2
Same name and namespace in other branches
- 7.3 cer.module \cer_menu()
- 7 cer.module \cer_menu()
Implements hook_menu().
File
- ./
cer.module, line 11 - Main module file.
Code
function cer_menu() {
$items = array();
$items['admin/config/system/cer'] = array(
'title' => 'Corresponding entity references',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'cer_settings_form',
),
'access arguments' => array(
'administer cer settings',
),
'file' => 'cer.admin.inc',
'type' => MENU_NORMAL_ITEM,
);
$items['admin/config/system/cer/references'] = array(
'title' => 'References',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'cer_settings_form',
),
'access arguments' => array(
'administer cer settings',
),
'file' => 'cer.admin.inc',
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/system/cer/update'] = array(
'title' => 'Update existing entities',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'cer_update_form',
),
'access arguments' => array(
'administer cer settings',
),
'file' => 'cer.admin.inc',
'type' => MENU_LOCAL_TASK,
);
return $items;
}