You are here

function maxlength_menu in Maxlength 6

Same name and namespace in other branches
  1. 5.2 maxlength.module \maxlength_menu()
  2. 5 maxlength.module \maxlength_menu()

Implemenation of hook_menu().

File

./maxlength.module, line 31

Code

function maxlength_menu() {
  $items['admin/settings/maxlength'] = array(
    'title' => t('Maxlength'),
    'description' => t('Set maximum length for body fields.'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      '_maxlength_admin_settings',
    ),
    'access arguments' => array(
      ADMINISTER_MAXLENGTH,
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $items;
}