|
Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
|
Class helper. More...
Static Public Member Functions | |
| static | require_plugin_enabled (string $pluginname) |
| Check the status of a plugin and throw exception if not enabled and called manually. | |
Class helper.
|
static |
Check the status of a plugin and throw exception if not enabled and called manually.
Any action plugin having a php script, should call this function for a safer enable/disable implementation.
| string | $pluginname |
| void |