MDL-76867 core: Add plugintype_supports_disabling to plugininfo

This commit is contained in:
Andrew Nicols
2023-03-14 08:34:42 +08:00
parent 6809289cf4
commit fdb1df2bfd
27 changed files with 240 additions and 0 deletions
+5
View File
@@ -33,6 +33,11 @@ use admin_settingpage;
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class availability extends base {
public static function plugintype_supports_disabling(): bool {
return true;
}
public static function get_enabled_plugins() {
global $DB;