function tinymce_help in TinyMCE 6
Same name and namespace in other branches
- 5.2 tinymce.module \tinymce_help()
- 5 tinymce.module \tinymce_help()
- 6.2 tinymce.module \tinymce_help()
- 1.x tinymce.module \tinymce_help()
Implementation of hook_help().
1 call to tinymce_help()
- tinymce_profile_form_build in ./
tinymce.admin.inc - Return an HTML form for profile configuration.
File
- ./
tinymce.module, line 38 - Integrate the TinyMCE editor (http://tinymce.moxiecode.com/) into Drupal.
Code
function tinymce_help($path, $arg) {
switch ($path) {
case 'admin/settings/tinymce#pages':
return "node/*\nuser/*\ncomment/*";
case 'admin/settings/tinymce':
case 'admin/help#tinymce':
return t('<p style="font-size:x-small">$Revision$ $Date$</p>' . '<p>TinyMCE adds what-you-see-is-what-you-get (WYSIWYG) html editing to textareas. This editor can be enabled/disabled without reloading the page by clicking a link below each textarea.</p>
<p>Profiles can be defined based on user roles. A TinyMCE profile can define which pages receive this TinyMCE capability, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor functions.</p>
<p>Lastly, only users with the <code>access tinymce</code> <a href="!url">permission</a> will be able to use TinyMCE.</p>', array(
'!url' => url('admin/user/permissions'),
));
}
}