MDL-75078 editor_tiny: Improve configuration specification

Part of MDL-75966
This commit is contained in:
Andrew Nicols
2022-11-10 19:52:52 +08:00
parent 05000e3e8b
commit 603c50e1be
16 changed files with 527 additions and 114 deletions
@@ -32,11 +32,13 @@ interface plugin_with_configuration {
* @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
* @return array
*/
public static function get_plugin_configuration_for_context(
context $context,
array $options,
array $fpoptions
array $fpoptions,
?editor $editor = null
): array;
}