function pathauto_menu in Pathauto 6
Same name and namespace in other branches
- 5.2 pathauto.module \pathauto_menu()
- 5 pathauto.module \pathauto_menu()
- 6.2 pathauto.module \pathauto_menu()
- 7 pathauto.module \pathauto_menu()
Implements hook_menu().
File
- ./
pathauto.module, line 57 - Main file for the Pathauto module, which automatically generates aliases for content.
Code
function pathauto_menu() {
$items['admin/build/path/pathauto'] = array(
'title' => 'Automated alias settings',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'pathauto_admin_settings',
),
'access arguments' => array(
'administer pathauto',
),
'type' => MENU_LOCAL_TASK,
'weight' => 10,
'file' => 'pathauto.admin.inc',
);
$items['admin/build/path/delete_bulk'] = array(
'title' => 'Delete aliases',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'pathauto_admin_delete',
),
'access arguments' => array(
'administer url aliases',
),
'type' => MENU_LOCAL_TASK,
'weight' => 30,
'file' => 'pathauto.admin.inc',
);
return $items;
}