MDL-76867 core: Add plugintype_supports_disabling to plugininfo
This commit is contained in:
@@ -32,6 +32,11 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* Class for HTML editors
|
||||
*/
|
||||
class editor extends base {
|
||||
|
||||
public static function plugintype_supports_disabling(): bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds all enabled plugins, the result may include missing plugins.
|
||||
* @return array|null of enabled plugins $pluginname=>$pluginname, null means unknown
|
||||
|
||||
Reference in New Issue
Block a user