You are here

function custom_formatters_menu in Custom Formatters 7.2

Same name and namespace in other branches
  1. 6 custom_formatters.module \custom_formatters_menu()

Implements hook_menu().

File

./custom_formatters.module, line 34
Core functions for the Custom Formatters module.

Code

function custom_formatters_menu() {
  $items['admin/structure/formatters/settings'] = array(
    'title' => 'Settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'custom_formatters_settings_form',
    ),
    'access arguments' => array(
      'administer custom formatters',
    ),
    'file' => 'custom_formatters.admin.inc',
    'file path' => drupal_get_path('module', 'custom_formatters') . '/includes',
    'type' => MENU_LOCAL_TASK,
  );
  return $items;
}