You are here

function globalredirect_menu in Global Redirect 7

Same name and namespace in other branches
  1. 6 globalredirect.module \globalredirect_menu()

Implements hook_menu().

File

./globalredirect.module, line 310
The Global Redirect module redirects for all paths which have aliases but are not using the aliases which reduces the risk of duplicate content.

Code

function globalredirect_menu() {
  $items['admin/config/system/globalredirect'] = array(
    'title' => 'Global Redirect',
    'description' => 'Chose which features you would like enabled for Global Redirect',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'globalredirect_settings',
    ),
    'access arguments' => array(
      'administer global redirect',
    ),
    'file' => 'globalredirect.admin.inc',
  );
  return $items;
}