You are here

function editor_invoke_plugin_types in Editor 6

Invokes hook_editor_plugin_types().

The editor plugin types hook allows modules to provide 'types' of plugins such as buttons or select fields.

@returns array Plugins

See also

editor_plugin_type_create()

1 call to editor_invoke_plugin_types()
editor_plugin_type_get in ./editor.module
Return a plugin type object or FALSE.

File

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

Code

function editor_invoke_plugin_types() {
  static $plugin_types;
  require_once 'editor.plugins.types.inc';
  if (!isset($plugin_types)) {
    $plugin_types = module_invoke_all('editor_plugin_types');
  }
  return $plugin_types;
}