wp.moduleList | HCL Digital Experience
The module list bean accesses modules that are part of the modularized theme architecture. You can query individual modules and their attributes and identify of the currently used modules within the scope of the currently selected and rendered page and theme.
Attributes:
- current
- Returns the module list for the currently selected page and theme.
- get(moduleKey)
-
Returns the module for the module key. The module key must be in the format
<module name>
or<module name>/<module version>
. The version is optional. If no version is used, then the module with the highest version is selected.