[AMOS commit] MDL-73347 blocks: New unaddableblocks theme setting Committed into Git: 2022-01-10 14:34 UTC

[AMOS commit] MDL-73347 blocks: New unaddableblocks theme setting Committed into Git: 2022-01-10 14:34 UTC

by AMOS bot -
Number of replies: 0
Author: Sara Arjona
MDL-73347 blocks: New unaddableblocks theme setting
A new method, get_unaddable_by_theme_block_types(), has been added to
block_manager class to let themes define, using the unaddableblocks
theme setting, the blocks that won't be displayed in the "Add a block"
list.
For now, only the boost theme uses it, to disable some of the blocks,
like settings, navigation, course_list and section_links (they are still
required for classic).


http://git.moodle.org/gw?p=moodle.git;a=commit;h=341a7b2a97ea0d9e09e1772580823f76d6a941af
http://github.com/moodle/moodle/commit/341a7b2a97ea0d9e09e1772580823f76d6a941af

+ 4.0 en [unaddableblocks,theme_boost]
+ 4.0 en [unaddableblocks_desc,theme_boost]