You are here

function wysiwyg_epiceditor_themes in Wysiwyg 7.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_epiceditor_themes'
wysiwyg_epiceditor_editor in editors/epiceditor.inc
Plugin implementation of hook_editor().

File

editors/epiceditor.inc, line 80
Editor integration functions for EpicEditor.

Code

function wysiwyg_epiceditor_themes($editor, $profile) {
  return array(
    'epic-dark',
    'epic-light',
  );

  // @todo Use the preview themes somewhere.

  //return array('preview-dark', 'github');
}