Module Installer Factory Class
How to use the Module Installer Factory Class
1. Require the Package in your root composer.json file
2. Add Needed Namespace
Use the following methods in your custom install events
Install a list of modules
Arguments for installList method:
Set the weight of the module after installation of the list of modules
Arguments for setModuleWeightAfterInstallation:
Import configuration from scaned directory
Example 1: Import all field storage configs
Example 2: Import all custom settings files from a managed folder in the module.
Import configuration from array list of config files
Example 1: Import configs from a managed config folder
Arguments for importConfigsFromList method:
Example 2: In Use Import of Configs
Last updated