1.20.x filter.module filter_editor_load($editor_name)

Loads an individual editor's information.

File

modules/filter/filter.module, line 872
Framework for handling the filtering of content.

Code

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