Differences Between: [Versions 401 and 402]
(no description)
File Size: | 587 lines (19 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
manager:: (10 methods):
get_plugin_configuration()
get_tinymce_buttons()
get_tinymce_menuitems()
get_available_plugins()
get_shipped_plugins()
get_tinymce_plugins()
get_disabled_tinymce_plugins()
get_moodle_plugins()
premium_plugins_enabled()
get_premium_plugins()
get_plugin_configuration(context $context,array $options = [],array $fpoptions = [],?editor $editor = null) X-Ref |
Get the configuration for all plugins. param: context $context The context that the editor is used within param: array $options The options passed in when requesting the editor param: array $fpoptions The filepicker options passed in when requesting the editor param: editor $editor The editor instance in which the plugin is initialised |
get_tinymce_buttons() X-Ref |
Get a list of the buttons provided by this plugin. return: string[] |
get_tinymce_menuitems() X-Ref |
Get a list of the menu items provided by this plugin. return: string[] |
get_available_plugins() X-Ref |
Return a list of all available plugins, including both TinyMCE shipped, and Moodle add-onis. Each plugin is returned as an array element containing: - a list of buttons (if applicable); and - a list of menuitems (if applicable). Note: Not all plugins include buttons, and not all plugins include menuitems. These array keys are optional. return: array |
get_shipped_plugins() X-Ref |
Return a list of all available plugins built into TinyMCE and not shipped as separate Moodle plugins. Each plugin is returned as an array element containing: - a list of buttons (if applicable); and - a list of menuitems (if applicable). Note: Not all plugins include buttons, and not all plugins include menuitems. These array keys are optional. return: array |
get_tinymce_plugins() X-Ref |
Get a list of the core plugins with their button, and menuitem, configuration. return: array[] |
get_disabled_tinymce_plugins() X-Ref |
Get a list of the built-in TinyMCE plugins which we want to disable. These are usually disabled because we have replaced them, or they are not compatible with Moodle in some way. return: string[] |
get_moodle_plugins() X-Ref |
Get a list of the Moodle plugins with their button, and menuitem, configuration. return: array[] |
premium_plugins_enabled() X-Ref |
Check whether premium plugins are configured and enabled. return: bool |
get_premium_plugins() X-Ref |
Get a list of the Tiny Premium plugins with their button, and menuitem, configuration. Note: This only includes _compatible_ premium plugins. Some premium plugins *may not* be compatible with Moodle, and some may require additional configuration. return: array[] |