mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
225c418fd2
There is a new theme property 'blockrendermethod' that can be set by the theme in its config.php and tells Moodle what method it is using to render blocks in the layout files. Either blocks, or blocks_for_region. Then when adding custom block regions to a page content we ensure we use the same method the theme is using elsewhere. This is really a hack becuase we (I) didn't properly deprecate blocks_for_region when I added the blocks method.