mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-47206 core: Allow tool plugins to run tasks
This issue is a part of the MDL-47194 Task. This issue is a part of the MDL-39707 Epic.
This commit is contained in:
parent
457f818026
commit
9c7274e25f
@ -36,6 +36,15 @@ class tool extends base {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tools cannot be disabled.
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function is_enabled() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return URL used for management of plugins of this type.
|
||||
* @return moodle_url
|
||||
|
Loading…
x
Reference in New Issue
Block a user