MDL-63694 core_block: Return block contents via WS

This commit is contained in:
Juan Leyva 2018-10-17 16:59:03 +02:00 committed by Eloy Lafuente (stronk7)
parent a9732b8977
commit cde3dc05bc
3 changed files with 113 additions and 14 deletions

View file

@ -9,6 +9,8 @@ information provided here is intended especially for developers.
If your block is returning formatted content or provide files for download, you should override this method to use the
external_format_text, external_format_string functions for formatting or external_util::get_area_files for files.
See block_html as example.
* External functions core_block::get_course_blocks and core_block::get_dashboard_blocks have a new parameter to indicate if
you want to receive the block contents.
=== 3.4 ===