@@ -57,15 +57,15 @@ To allow your plugin to deliver the custom element file, you'll need to add or m
5757// my/plugin/lib.php
5858function my_plugin_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array()) {
5959 $pluginpath = __DIR__.'/';
60-
60+
6161 // ...
6262
6363 if ($filearea === 'vendorjs') {
6464 $path = $pluginpath.'vendorjs/'.implode('/', $args);
6565 send_file($path, basename($path));
6666 return true;
6767 }
68-
68+
6969 // ...
7070}
7171```
@@ -80,6 +80,7 @@ as a parameter in the example above.
8080The following example shows how to make use of Angular to call string functions from Moodle.
8181
8282This is a general purpose Angular service that allows consuming any Moodle service function:
83+
8384``` ts
8485import {Injectable } from ' @angular/core' ;
8586
@@ -407,7 +408,12 @@ Enjoy!
407408
408409```
409410
411+ ## Flags
412+
413+ ### The ` local_ce_enable_usage ` flag.
414+
410415## License
416+
411417Copyright (c) 2021 Open LMS (https://www.openlms.net )
412418
413419This program is free software: you can redistribute it and/or modify it under
@@ -420,4 +426,4 @@ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
420426PARTICULAR PURPOSE. See the GNU General Public License for more details.
421427
422428You should have received a copy of the GNU General Public License along with
423- this program. If not, see < http://www.gnu.org/licenses/ > .
429+ this program. If not, see [ http://www.gnu.org/licenses/ ] ( http://www.gnu.org/licenses/ ) .
0 commit comments