function wysiwyg_wymeditor_themes in Wysiwyg 5.2
Same name and namespace in other branches
- 6.2 editors/wymeditor.inc \wysiwyg_wymeditor_themes()
- 7.2 editors/wymeditor.inc \wysiwyg_wymeditor_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_wymeditor_themes'
- wysiwyg_wymeditor_editor in editors/
wymeditor.inc - Plugin implementation of hook_editor().
File
- editors/
wymeditor.inc, line 80 - Editor integration functions for WYMeditor.
Code
function wysiwyg_wymeditor_themes($editor, $profile) {
return array(
'compact',
'default',
'minimal',
'silver',
'twopanels',
);
}