You are here

function editor_invoke_plugins in Editor 6

Same name and namespace in other branches
  1. 5 editor.module \editor_invoke_plugins()

Invokes hook_editor_plugins().

The editor plugins hook allows for 'plugin types' which are displayed within the editor toolbar. This may range from buttons, select fields, etc.

@returns array Plugins

See also

editor_plugin_create()

2 calls to editor_invoke_plugins()
editor_attach in ./editor.module
editor_plugin_get in ./editor.module
Return a plugin object or FALSE.

File

./editor.module, line 436
Extendable WYSIWYG editor @author Tj Holowaychuk <http://www.350designs.com/> @package Editor

Code

function editor_invoke_plugins() {
  static $plugins;
  require_once 'editor.plugins.inc';
  if (!isset($plugins)) {
    $plugins = module_invoke_all('editor_plugins');
  }
  return $plugins;
}