Loads and manages all modules in ProcessWire.
$modules API variable is most commonly used for getting individual modules to use their API.
// Getting a module by name $m = $modules->get('MarkupPagerNav'); // Getting a module by name (alternate) $m = $modules->MarkupPagerNav;
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the
Modules class also inherits all the methods and properties of: WireArray and Wire.
Additional methods and properties
In addition to the methods and properties above, Modules also inherits the methods and properties of these classes:
API reference based on ProcessWire core version 3.0.130