You are here

function wysiwyg_yui_themes in Wysiwyg 5.2

Same name and namespace in other branches
  1. 5 editors/yui.inc \wysiwyg_yui_themes()
  2. 6.2 editors/yui.inc \wysiwyg_yui_themes()
  3. 6 editors/yui.inc \wysiwyg_yui_themes()
  4. 7.2 editors/yui.inc \wysiwyg_yui_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_yui_themes'
wysiwyg_yui_editor in editors/yui.inc
Plugin implementation of hook_editor().

File

editors/yui.inc, line 95
Editor integration functions for YUI editor.

Code

function wysiwyg_yui_themes($editor, $profile) {
  return array(
    'sam',
  );
}