You are here

function subpathauto_menu in Sub-pathauto (Sub-path URL Aliases) 7

Implements hook_menu().

File

./subpathauto.module, line 6

Code

function subpathauto_menu() {
  $items['admin/config/search/path/subpaths'] = array(
    'title' => 'Sub-path settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'subpathauto_settings_form',
    ),
    'access arguments' => array(
      'administer url aliases',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 25,
    'file' => 'subpathauto.admin.inc',
  );
  return $items;
}