function wysiwyg_markitup_themes in Wysiwyg 7.2
Same name and namespace in other branches
- 5.2 editors/markitup.inc \wysiwyg_markitup_themes()
- 5 editors/markitup.inc \wysiwyg_markitup_themes()
- 6.2 editors/markitup.inc \wysiwyg_markitup_themes()
- 6 editors/markitup.inc \wysiwyg_markitup_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_markitup_themes'
- wysiwyg_markitup_editor in editors/
markitup.inc - Plugin implementation of hook_editor().
File
- editors/
markitup.inc, line 90 - Editor integration functions for markItUp.
Code
function wysiwyg_markitup_themes($editor, $profile) {
return array(
'simple',
'markitup',
);
}