You are here

function xbbcode_list_menu in Extensible BBCode 7

Same name and namespace in other branches
  1. 8 xbbcode_list/xbbcode_list.module \xbbcode_list_menu()
  2. 5 xbbcode_list/xbbcode_list.module \xbbcode_list_menu()
  3. 6 xbbcode_list/xbbcode_list.module \xbbcode_list_menu()

File

xbbcode_list/xbbcode_list.module, line 74

Code

function xbbcode_list_menu() {
  $menu['admin/config/content/lists/autocomplete'] = array(
    'title' => 'list-style-type autocomplete',
    'page callback' => 'xbbcode_list_autocomplete',
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_CALLBACK,
  );
  $menu['admin/config/content/lists'] = array(
    'title' => 'BBCode list styles',
    'description' => 'Configure the way that BBCode-formatted lists are displayed.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'xbbcode_list_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_NORMAL_ITEM,
  );
  return $menu;
}