$modules→findByInfo()
Find modules by matching a property or properties in their module info
Usage
// basic usage
$array = $modules->findByInfo($selector);
// usage with all arguments
$array = $modules->findByInfo($selector, $load = false);
Arguments
Name | Type(s) | Description |
---|---|---|
$selector | string array | Specify one of the following:
|
$load (optional) | bool int | Specify one of the following:
|
Return value
array
Array of modules, module names or module info arrays, indexed by module name.
$modules methods and properties
API reference based on ProcessWire core version 3.0.251