MDL-64554 core_form: new API for modal forms

This commit is contained in:
Marina Glancy
2021-02-17 18:09:38 +01:00
parent a2fda1289f
commit 1d33351fbb
21 changed files with 1347 additions and 57 deletions
+7
View File
@@ -837,6 +837,13 @@ $functions = array(
'loginrequired' => false,
'ajax' => true,
),
'core_form_dynamic_form' => array(
'classname' => 'core_form\external\dynamic_form',
'methodname' => 'execute',
'description' => 'Process submission of a dynamic (modal) form',
'type' => 'write',
'ajax' => true,
),
'core_get_component_strings' => array(
'classname' => 'core_external',
'methodname' => 'get_component_strings',