MDL-76867 core: Add plugintype_supports_disabling to plugininfo
This commit is contained in:
@@ -30,6 +30,11 @@ use part_of_admin_tree;
|
||||
* Class for webservice protocols
|
||||
*/
|
||||
class webservice extends base {
|
||||
|
||||
public static function plugintype_supports_disabling(): bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds all enabled plugins, the result may include missing plugins.
|
||||
* @return array of enabled plugins $pluginname => $pluginname
|
||||
|
||||
Reference in New Issue
Block a user