-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
4.0.2
-
MOODLE_400_STABLE
Use case:
We at Praxis would like to move the "backup cart" from the block_sharing_cart plugin into the section/module dropdown.
Solution:
Adding the abillity to create the functions "block_{blockname}_extend_module_action_menu" and "block_{blockname}_extend_section_action_menu" in lib.php of block plugins. These functions would then be returning an associative array of action_menu_link_secondary instances.
The functions would then be called when establishing the section and module actions. Only blocks inside the course will get their functions called.
Where the functions would be called:
- has a non-specific relationship to
-
MDL-74942 Allow modules to add custom action menu items
- Closed