function domain_entity_menu in Domain Access Entity 7
Implements hook_menu().
File
- ./
domain_entity.module, line 32 - Defines field (e.g. domain_entity) for entities, and access query alter.
Code
function domain_entity_menu() {
$items = array();
// Register the batch actions as menu callbacks.
$items['admin/structure/domain/entities'] = array(
'title' => 'Entities',
'access arguments' => array(
'administer domains',
),
'type' => MENU_LOCAL_TASK,
'page arguments' => array(
'domain_entity_ui',
),
'page callback' => 'drupal_get_form',
'file' => 'domain_entity.admin.inc',
'description' => 'Enable or Disable domain on entities / Configure domain entities behavior.',
'weight' => -5,
);
return $items;
}