You are here

function message_menu in Message 7

Implements hook_menu().

File

./message.module, line 288
API functions to manipulate messages.

Code

function message_menu() {
  $items = array();
  $items['admin/config/system/message'] = array(
    'title' => 'Message settings',
    'description' => 'Manage message purging upon cron.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'message_user_admin_settings',
    ),
    'access arguments' => array(
      'administer message types',
    ),
    'file' => 'includes/message.admin.inc',
  );
  $items['admin/config/system/message/text-copy'] = array(
    'title' => 'Copy messages text fields',
    'description' => 'Copy messages text fields from one language to others',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'message_admin_text_copy',
    ),
    'access arguments' => array(
      'administer message types',
    ),
    'file' => 'includes/message.admin.inc',
  );
  return $items;
}