Skip to content
  • Juan Leyva's avatar
    MDL-63694 core_block: New block class method for external content · 96d9a6e4
    Juan Leyva authored and Eloy Lafuente's avatar Eloy Lafuente committed
    New method added block_base::get_content_for_external().
    It will return all the block contents rendered for external functions.
    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.
    96d9a6e4