MDL-58713 filters: New WS core_filters_get_available_in_context

This commit is contained in:
Juan Leyva 2017-09-20 09:29:45 +02:00
parent dc78f150fa
commit 66ef16d364
4 changed files with 335 additions and 1 deletions

View file

@ -2075,6 +2075,15 @@ $functions = array(
'capabilities' => '',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
),
// Filters functions.
'core_filters_get_available_in_context' => array(
'classname' => 'core_filters\external',
'methodname' => 'get_available_in_context',
'description' => 'Returns the filters available in the given contexts.',
'type' => 'read',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
)
);
$services = array(