You are here

function pathauto_entity_menu in Pathauto Entity 7

Implement hook_menu().

File

./pathauto_entity.module, line 10
Implements custom entity type support for Pathauto module.

Code

function pathauto_entity_menu() {
  $items = array();
  $items['admin/config/search/path/entities'] = array(
    'title' => 'Entities',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'pathauto_entity_available_entity_types_form',
    ),
    'access arguments' => array(
      'administer pathauto',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 12,
    'file' => 'includes/pathauto_entity.admin.inc',
  );
  return $items;
}