function tinymce_menu
Search API
7.x tinymce.module | tinymce_menu() |
6.x tinymce.module | tinymce_menu() |
4.x tinymce.module | tinymce_menu() |
5.x tinymce.module | tinymce_menu() |
Implementation of hook_menu
File
- modules/
tinymce/ tinymce.module, line 55 - The TinyMCE module will init TinyMCE (the editor) on appropriate pages. This module is primarily for managing what those pages are.
Code
function tinymce_menu() {
$items = array();
$items ["admin/config/tinymce"] = array(
"title" => "TinyMCE Settings",
"description" => "Administer settings for the TinyMCE WYSIWYG editor",
"page_callback" => "fp_render_form",
"page_arguments" => array("tinymce_config_form", "system_settings"),
"access_arguments" => array("administer_tinymce"),
"page_settings" => array(
"page_has_search" => FALSE,
"menu_icon" => fp_get_module_path('tinymce') . "/icons/text_dropcaps.png",
"page_banner_is_link" => TRUE,
"page_hide_report_error" => TRUE,
"menu_links" => array(
0 => array(
"text" => "Admin Console",
"path" => "admin-tools/admin",
"query" => "de_catalog_year=%DE_CATALOG_YEAR%",
),
),
),
"type" => MENU_TYPE_NORMAL_ITEM,
"tab_parent" => "admin-tools/admin",
);
return $items;
}