mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-81767 courseformat: Add module quickcreation feature
- Add new 'FEATURE_QUICKCREATE' plugin feature that indicates the module can be created with a single click. It will use its own 'quickcreatename' defined string as the initial default name. - Add new 'core_courseformat\external\create_module' web service to create new modules with the quickcreate featuer in the course page. - Add a new 'create_module' state action.
This commit is contained in:
parent
84d9e83588
commit
a0fa76c86b
16 changed files with 270 additions and 8 deletions
|
@ -500,6 +500,8 @@ define('MOD_PURPOSE_OTHER', 'other');
|
|||
*/
|
||||
define('MOD_PURPOSE_INTERFACE', 'interface');
|
||||
|
||||
/** True if module can be quickly created without filling a previous form. */
|
||||
define('FEATURE_QUICKCREATE', 'quickcreate');
|
||||
/**
|
||||
* Security token used for allowing access
|
||||
* from external application such as web services.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue