MDL-64348 template: add load_template_with_dependencies external func

This commit is contained in:
Ryan Wyllie 2018-12-11 11:04:43 +08:00
parent 0664130b88
commit e0034b5da6
4 changed files with 105 additions and 173 deletions

View file

@ -1396,6 +1396,14 @@ $functions = array(
'loginrequired' => false,
'ajax' => true,
),
'core_output_load_template_with_dependencies' => array(
'classname' => 'core\output\external',
'methodname' => 'load_template_with_dependencies',
'description' => 'Load a template and its dependencies for a renderable',
'type' => 'read',
'loginrequired' => false,
'ajax' => true,
),
'core_output_load_fontawesome_icon_map' => array(
'classname' => 'core\output\external',
'methodname' => 'load_fontawesome_icon_map',