Delete the given module, physically removing its files
Usage
$bool = $modulesInstaller->delete(string $class);
Arguments
Name | Type(s) | Description |
---|---|---|
class | string | Module name (class name) |
Return value
bool
Exceptions
Method can throw exceptions on error:
WireException
- If module can't be deleted, exception will be thrown containing reason.
ModulesInstaller methods and properties
API reference based on ProcessWire core version 3.0.236