Wed Mar 26 2025 01:07:57 GMT+0000 (Coordinated Universal Time)
Module developers can export packages and include as part of their module. When set-up correctly, the packages will automatically import when the module is enabled.
To set this up, create a new Yaml reference file inside your module:
config/site_studio/site_studio.packages.yml
This file should contain an array following the specific format. Each package in array needs to have "type" and "source" and can optionally have "options":
Here's an example of site_studio.packages.yml
containing two packages, both using default_module_package type:
-
type: default_module_package
source:
module_name: test_module
path: /config/site_studio/blog_feature_package
options:
extra-validation: false
-
type: default_module_package
source:
module_name: test_module
path: /config/site_studio/coh_component_hero_shallow
options:
extra-validation: true
If this content did not answer your questions, try searching or contacting our support team for further assistance.