You are here

function wysiwyg_help in Wysiwyg 5

Same name and namespace in other branches
  1. 5.2 wysiwyg.module \wysiwyg_help()
  2. 6.2 wysiwyg.module \wysiwyg_help()
  3. 6 wysiwyg.module \wysiwyg_help()
  4. 7.2 wysiwyg.module \wysiwyg_help()

Implementation of hook_help().

File

./wysiwyg.module, line 28
Integrate client-side editors with Drupal.

Code

function wysiwyg_help($section) {
  switch ($section) {
    case 'admin/settings/wysiwyg/profile':
      if (!arg(4)) {
        $output = '<p>' . t('A Wysiwyg profile can be associated to an input format. A Wysiwyg profile defines which client-side editor is loaded, what buttons or themes are enabled for the editor, how the editor is displayed, and a few other editor-specific functions.') . '</p>';
        return $output;
      }
      break;
  }
}