function wysiwyg_fckeditor_themes in Wysiwyg 6
Same name and namespace in other branches
- 5.2 editors/fckeditor.inc \wysiwyg_fckeditor_themes()
- 5 editors/fckeditor.inc \wysiwyg_fckeditor_themes()
- 6.2 editors/fckeditor.inc \wysiwyg_fckeditor_themes()
- 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',
);
}