function tinymce_menu in TinyMCE 5
Same name and namespace in other branches
- 5.2 tinymce.module \tinymce_menu()
- 6.2 tinymce.module \tinymce_menu()
- 6 tinymce.module \tinymce_menu()
Implementation of hook_menu().
File
- ./
tinymce.module, line 13 - Integrate the TinyMCE editor (http://tinymce.moxiecode.com/) into Drupal.
Code
function tinymce_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array(
'path' => 'admin/settings/tinymce',
'title' => t('TinyMCE'),
'callback' => 'tinymce_admin',
'description' => t('Configure the rich editor.'),
'access' => user_access('administer tinymce'),
);
}
return $items;
}