You are here

function editor_load in Editor 7

Loads an individual editor's information.

Parameters

string|FALSE $editor_name: The internal editor name of the editor to load.

1 call to editor_load()
editor_get_attached in ./editor.module
Adds filter configuration information to the page for access by JavaScript.

File

./editor.module, line 651
Allows rich text fields to be edited using WYSIWYG client-side editors.

Code

function editor_load($editor_name) {
  $editors = editor_get_editors();
  return isset($editors[$editor_name]) ? $editors[$editor_name] : FALSE;
}