Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
tiny_h5p\plugininfo Class Reference

Tiny H5P plugin for Moodle. More...

Inheritance diagram for tiny_h5p\plugininfo:

Static Public Member Functions

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_configuration_for_context (context $context, array $options, array $fpoptions, ?\editor_tiny\editor $editor=null)
 
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.
 
static is_enabled (context $context, array $options, array $fpoptions, ?\editor_tiny\editor $editor=null)
 

Detailed Description

Tiny H5P plugin for Moodle.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_available_buttons()

static tiny_h5p\plugininfo::get_available_buttons ( )
static

Get a list of the buttons provided by this plugin.

Return values
string[]

Implements editor_tiny\plugin_with_buttons.

◆ get_available_menuitems()

static tiny_h5p\plugininfo::get_available_menuitems ( )
static

Get a list of the menu items provided by this plugin.

Return values
string[]

Implements editor_tiny\plugin_with_menuitems.

◆ get_plugin_configuration_for_context()

static editor_tiny\plugin_with_configuration::get_plugin_configuration_for_context ( context $context,
array $options,
array $fpoptions,
?editor $editor = null )
staticinherited

Get a list of the menu items provided by this 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

Implemented in tiny_accessibilitychecker\plugininfo, tiny_equation\plugininfo, tiny_link\plugininfo, tiny_media\plugininfo, tiny_premium\plugininfo, and tiny_recordrtc\plugininfo.

◆ 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$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 )
staticinherited

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: