MDL-80694 external: fix return param in inplace_editable WS

This commit is contained in:
Marina Glancy 2024-01-23 14:15:42 +00:00
parent 810554ee83
commit 87470d1d40

View file

@ -494,7 +494,7 @@ class core_external extends external_api {
'key' => new external_value(PARAM_RAW, 'Edit icon key', VALUE_OPTIONAL), 'key' => new external_value(PARAM_RAW, 'Edit icon key', VALUE_OPTIONAL),
'component' => new external_value(PARAM_COMPONENT, 'Edit icon component', VALUE_OPTIONAL), 'component' => new external_value(PARAM_COMPONENT, 'Edit icon component', VALUE_OPTIONAL),
'title' => new external_value(PARAM_NOTAGS, 'Edit icon title', VALUE_OPTIONAL), 'title' => new external_value(PARAM_NOTAGS, 'Edit icon title', VALUE_OPTIONAL),
]), ], 'Edit icon', VALUE_OPTIONAL),
'type' => new external_value(PARAM_ALPHA, 'type of the element (text, toggle, select)', VALUE_OPTIONAL), 'type' => new external_value(PARAM_ALPHA, 'type of the element (text, toggle, select)', VALUE_OPTIONAL),
'options' => new external_value(PARAM_RAW, 'options of the element, format depends on type', VALUE_OPTIONAL), 'options' => new external_value(PARAM_RAW, 'options of the element, format depends on type', VALUE_OPTIONAL),
'linkeverything' => new external_value(PARAM_INT, 'Should everything be wrapped in the edit link or link displayed separately', VALUE_OPTIONAL), 'linkeverything' => new external_value(PARAM_INT, 'Should everything be wrapped in the edit link or link displayed separately', VALUE_OPTIONAL),