You are here

function better_messages_menu in Better Messages 6

Same name and namespace in other branches
  1. 6.2 better_messages.module \better_messages_menu()
  2. 7.2 better_messages.module \better_messages_menu()
  3. 7 better_messages.module \better_messages_menu()

File

./better_messages.module, line 13

Code

function better_messages_menu() {
  $items = array();
  $items['admin/settings/better-messages'] = array(
    'title' => t('Better Messages settings'),
    'description' => t('Better handling of Drupal messages UI'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'better_messages_admin',
    ),
    'access callback' => 'user_access',
    'access arguments' => array(
      'administer better messages',
    ),
    'file' => 'better_messages.inc',
  );
  return $items;
}