Skip to main content

Modules

Vortex is not a Drupal distribution: it ships no installation profile, and the only recipe it carries is the small recipes/page recipe that creates the demo content model during provisioning. It provides a small set of contributed modules that most projects need, each already wired into the environment-aware settings and the provisioning scripts. You add the rest once the initial setup is done.

Every module in this section is optional. The installer asks which ones to keep, and deselecting one removes its Composer requirement, its settings override, its line in the provisioning script, its Behat feature and its settings test assertions in a single pass.

How modules are configured

MechanismLocationEffect
Composer requirementrequire in composer.jsonMakes the module available to the site. ➡️ See composer.json
Settings overrideweb/sites/default/includes/modules/settings.<module>.phpApplies configuration conditioned on the detected environment, reading values from environment variables. ➡️ See Settings
Config export exclusion$settings['config_exclude_modules'] in a settings overrideKeeps a development-only module out of the exported configuration, so enabling it locally never dirties the config. ➡️ See Settings
Provisioningscripts/provision-00-enable-demo-modules.shStands up the demo site in the local, ci, dev and stage environments: applies the recipes/page content model, sets the site name, installs the contrib, service and custom site modules (including core's media and navigation), and runs their deploy hooks. ➡️ See Provision
Development provisioningscripts/provision-10-enable-dev-modules.shInstalls the development-only modules in the same four environments. ➡️ See Provision
Module dependencyys_demo.info.ymlInstalls the module as a dependency of the demo module. ➡️ See Demo module

A module can be required without being installed anywhere: the settings override is then ready for the day the project enables it. seckit is the only module shipped that way - every other module in Contributed modules is installed by one of the mechanisms above, so selecting it is enough to get it enabled.