MDL-63465 blocks: New WS core_blocks_get_dashboard_blocks

This commit is contained in:
Juan Leyva 2018-10-09 16:38:43 +02:00
parent 3cced42eb3
commit 0f8b26043f
5 changed files with 295 additions and 33 deletions

View file

@ -2214,6 +2214,15 @@ $functions = array(
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
'core_block_get_dashboard_blocks' => array(
'classname' => 'core_block_external',
'methodname' => 'get_dashboard_blocks',
'description' => 'Returns blocks information for the given user dashboard.',
'type' => 'read',
'capabilities' => '',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
// Filters functions.
'core_filters_get_available_in_context' => array(
'classname' => 'core_filters\external',