function editor_invoke_plugin_classes in Editor 5
Invokes hook_editor_plugin_classes().
The editor plugin class hook allows modules to provide 'classes' of plugins such as buttons or select fields.
@returns array Plugins
See also
1 call to editor_invoke_plugin_classes()
- editor_plugin_class_get in ./
editor.module - Get a plugin class object.
File
- ./
editor.module, line 579 - Extendable WYSIWYG editor @author Tj Holowaychuk <tj@vision-media.ca> @link http://vision-media.ca @package Editor
Code
function editor_invoke_plugin_classes() {
static $plugin_classes;
if (!isset($plugin_classes)) {
$path = drupal_get_path('module', 'editor');
require_once $path . '/editor.plugins.classes.inc';
$plugin_classes = module_invoke_all('editor_plugin_classes');
}
return $plugin_classes;
}