Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
editor_tiny\plugin Class Reference
Inheritance diagram for editor_tiny\plugin:
tiny_accessibilitychecker\plugininfo tiny_autosave\plugininfo tiny_equation\plugininfo tiny_h5p\plugininfo tiny_html\plugininfo tiny_link\plugininfo tiny_media\plugininfo tiny_noautolink\plugininfo tiny_premium\plugininfo tiny_recordrtc\plugininfo

Static Public Member Functions

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.
 

Member Function Documentation

◆ get_plugin_info()

static editor_tiny\plugin::get_plugin_info ( context $context,
array $options,
array $fpoptions,
?editor $editor = null )
staticfinal

Get the plugin information for the plugin.

Parameters
context$contextThe context that the editor is used within
array$optionsThe options passed in when requesting the editor
array$fpoptionsThe filepicker options passed in when requesting the editor
editor$editorThe editor instance in which the plugin is initialised
Return values
array

◆ is_enabled()

static editor_tiny\plugin::is_enabled ( context $context,
array $options,
array $fpoptions,
?editor $editor = null )
static

Whether the plugin is enabled.

Parameters
context$contextThe context that the editor is used within
array$optionsThe options passed in when requesting the editor
array$fpoptionsThe filepicker options passed in when requesting the editor
editor$editorThe editor instance in which the plugin is initialised
Return values
boolean

Reimplemented in tiny_media\plugininfo, tiny_premium\plugininfo, and tiny_recordrtc\plugininfo.


The documentation for this class was generated from the following file: