|
static | get_available_buttons () |
| Get a list of the buttons provided by this plugin.
|
|
static | get_available_menuitems () |
| Get a list of the menu items provided by this plugin.
|
|
static | get_plugin_configuration_for_context (context $context, array $options, array $fpoptions, ?editor $editor=null) |
| Get a list of the menu items provided by this plugin.
|
|
static | get_plugin_info (context $context, array $options, array $fpoptions, ?editor $editor=null) |
| Get the plugin information for the plugin.
|
|
static | is_enabled (context $context, array $options, array $fpoptions, ?editor $editor=null) |
| Whether the plugin is enabled and accessible (e.g.
|
|
static | is_enabled_for_external (context $context, array $options) |
| Whether the plugin is enabled and accessible for external functions.
|
|
|
static | get_file_manager_configuration (context $context, array $options, array $fpoptions) |
|
◆ get_available_buttons()
static tiny_media\plugininfo::get_available_buttons |
( |
| ) |
|
|
static |
◆ get_available_menuitems()
static tiny_media\plugininfo::get_available_menuitems |
( |
| ) |
|
|
static |
◆ get_plugin_configuration_for_context()
static tiny_media\plugininfo::get_plugin_configuration_for_context |
( |
context | $context, |
|
|
array | $options, |
|
|
array | $fpoptions, |
|
|
?editor | $editor = null ) |
|
static |
Get a list of the menu items provided by this plugin.
- Parameters
-
context | $context | The context that the editor is used within |
array | $options | The options passed in when requesting the editor |
array | $fpoptions | The filepicker options passed in when requesting the editor |
editor | $editor | The editor instance in which the plugin is initialised |
- Return values
-
Implements editor_tiny\plugin_with_configuration.
◆ get_plugin_info()
static editor_tiny\plugin::get_plugin_info |
( |
context | $context, |
|
|
array | $options, |
|
|
array | $fpoptions, |
|
|
?editor | $editor = null ) |
|
staticfinalinherited |
Get the plugin information for the plugin.
- Parameters
-
context | $context | The context that the editor is used within |
array | $options | The options passed in when requesting the editor |
array | $fpoptions | The filepicker options passed in when requesting the editor |
editor | $editor | The editor instance in which the plugin is initialised |
- Return values
-
◆ is_enabled()
static tiny_media\plugininfo::is_enabled |
( |
context | $context, |
|
|
array | $options, |
|
|
array | $fpoptions, |
|
|
?editor | $editor = null ) |
|
static |
Whether the plugin is enabled and accessible (e.g.
capability checks).
- Parameters
-
context | $context | The context that the editor is used within |
array | $options | The options passed in when requesting the editor |
array | $fpoptions | The filepicker options passed in when requesting the editor |
editor | $editor | The editor instance in which the plugin is initialised |
- Return values
-
Reimplemented from editor_tiny\plugin.
◆ is_enabled_for_external()
static tiny_media\plugininfo::is_enabled_for_external |
( |
context | $context, |
|
|
array | $options ) |
|
static |
Whether the plugin is enabled and accessible for external functions.
- Parameters
-
context | $context | The context that the editor is used within. |
array | $options | Additional options:
- pluginname: Name of the plugin, without the "tiny_" prefix.
|
- Return values
-
Reimplemented from editor_tiny\plugin.
The documentation for this class was generated from the following file:
- lib/editor/tiny/plugins/media/classes/plugininfo.php