You are here

function wysiwyg_fckeditor_themes in Wysiwyg 6

Same name and namespace in other branches
  1. 5.2 editors/fckeditor.inc \wysiwyg_fckeditor_themes()
  2. 5 editors/fckeditor.inc \wysiwyg_fckeditor_themes()
  3. 6.2 editors/fckeditor.inc \wysiwyg_fckeditor_themes()
  4. 7.2 editors/fckeditor.inc \wysiwyg_fckeditor_themes()

Determine available editor themes or check/reset a given one.

Parameters

$editor: A processed hook_editor() array of editor properties.

$profile: A wysiwyg editor profile.

Return value

An array of theme names. The first returned name should be the default theme name.

1 string reference to 'wysiwyg_fckeditor_themes'
wysiwyg_fckeditor_editor in editors/fckeditor.inc
Plugin implementation of hook_editor().

File

editors/fckeditor.inc, line 161
Editor integration functions for FCKeditor.

Code

function wysiwyg_fckeditor_themes($editor, $profile) {
  return array(
    'default',
    'office2003',
    'silver',
  );
}