function xbbcode_list_menu in Extensible BBCode 5
Same name and namespace in other branches
- 8 xbbcode_list/xbbcode_list.module \xbbcode_list_menu()
- 6 xbbcode_list/xbbcode_list.module \xbbcode_list_menu()
- 7 xbbcode_list/xbbcode_list.module \xbbcode_list_menu()
File
- xbbcode_list/
xbbcode_list.module, line 85
Code
function xbbcode_list_menu($maycache) {
if ($maycache) {
return;
}
$menu[] = array(
'path' => 'admin/settings/xbbcode/lists/autocomplete',
'title' => t("list-style-type autocomplete"),
'callback' => 'xbbcode_list_autocomplete',
'access' => user_access('administer site settings'),
'type' => MENU_CALLBACK,
);
$menu[] = array(
'path' => 'admin/settings/xbbcode/lists',
'title' => t("List styles"),
'callback' => 'drupal_get_form',
'callback arguments' => 'xbbcode_list_admin_settings',
'access' => user_access('administer site settings'),
'type' => MENU_NORMAL_ITEM,
);
return $menu;
}