You are here

function tinymce_menu in TinyMCE 5.2

Same name and namespace in other branches
  1. 5 tinymce.module \tinymce_menu()
  2. 6.2 tinymce.module \tinymce_menu()
  3. 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;
}