You are here

function views_natural_sort_menu in Views Natural Sort 7.2

Same name and namespace in other branches
  1. 6 views_natural_sort.module \views_natural_sort_menu()
  2. 7 views_natural_sort.module \views_natural_sort_menu()

Implements hook_menu().

File

./views_natural_sort.module, line 30
Views Natural Sort module.

Code

function views_natural_sort_menu() {
  $items = array();
  $items['admin/structure/views/settings/views_natural_sort'] = array(
    'title' => 'Natural Sort',
    'description' => 'Set the settings for how particular transformations should behave.',
    'page callback' => 'views_natural_sort_settings_page',
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer views',
    ),
    'file' => 'views_natural_sort.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}