You are here

function wysiwyg_openwysiwyg_themes in Wysiwyg 5.2

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_openwysiwyg_themes'
wysiwyg_openwysiwyg_editor in editors/openwysiwyg.inc
Plugin implementation of hook_editor().

File

editors/openwysiwyg.inc, line 73
Editor integration functions for openWYSIWYG.

Code

function wysiwyg_openwysiwyg_themes($editor, $profile) {
  return array(
    'default',
  );
}