Get the path + filename (or optionally URL) for this module
Usage
// basic usage
$bool = $modules->getModuleFile($class);
// usage with all arguments
$bool = $modules->getModuleFile($class, $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
class | string, Module | Module class name or object instance |
options (optional) | array, bool | Options to modify default behavior:
|
Return value
bool
string
Returns string of module file, or false on failure.
$modules methods and properties
API reference based on ProcessWire core version 3.0.236