-
Improvement
-
Resolution: Fixed
-
Minor
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-80187-main -
-
HQ 2023 Sprint I4.3 Moppies
This issue is part of the course hierarchy project.
Issue Goals
- Unless it is already created. This issue will implement the section format actions architecture proposed in
MDL-80000. This will create the basic format actions structure for all the new course actions related to sections (this will be done in a separate first commit). - Add two new sectionactions methods to create and destroy delegated sections:
- formatactions::section($courseid)->create_delegated($component, $delegateid): sectioninfo
- formatactions::section($courseid)->delete_delegated($sectioninfo): bool
- Add the creation and destruction of a delegated section into https://github.com/aanabit/mod_subsection (plugin stub created in
MDL-80048)
Future issues
The final core mod_subsection module will use those methods to create and destroy their delegated sections.
Method deprecation
This issue will involve deprecating several methods. The details can be found in the Course hierarchy deprecation plan documented here:
- blocks
-
MDL-80482 Deprecate redundant course/lib.php function existing as format actions
- Open
-
MDL-80190 Delegated sections should not be listed in course page as regular sections
- Closed
-
MDL-80191 Enable delegate plugins to include delegated sections in the backup
- Closed
- is blocked by
-
MDL-80000 Decide a new location of core_course section and activity APIs
- Closed
-
MDL-80048 Create a mod_subsection skell to test delegated sections.
- Closed
-
MDL-80186 Add delegate section fields to the course_section table
- Closed