You are here

function wysiwyg_get_editor in Wysiwyg 7.2

Same name and namespace in other branches
  1. 5.2 wysiwyg.module \wysiwyg_get_editor()
  2. 5 wysiwyg.module \wysiwyg_get_editor()
  3. 6.2 wysiwyg.module \wysiwyg_get_editor()
  4. 6 wysiwyg.module \wysiwyg_get_editor()

Return library information for a given editor.

Parameters

$name: The internal name of an editor.

Return value

The library information for the editor, or FALSE if $name is unknown or not installed properly.

Related topics

11 calls to wysiwyg_get_editor()
wysiwyg_add_plugin_settings in ./wysiwyg.module
Add settings for external plugins.
wysiwyg_features_rebuild in ./wysiwyg.features.inc
Implements hook_features_rebuild().
wysiwyg_get_editor_config in ./wysiwyg.module
Return an array of initial editor settings for a Wysiwyg profile.
wysiwyg_get_editor_themes in ./wysiwyg.module
Retrieve available themes for an editor.
wysiwyg_get_plugins in ./wysiwyg.module
Return plugin metadata from the plugin registry.

... See full list

File

./wysiwyg.module, line 1077

Code

function wysiwyg_get_editor($name) {
  $editors = wysiwyg_get_all_editors();
  return isset($editors[$name]) && $editors[$name]['installed'] ? $editors[$name] : FALSE;
}