Skip to content

Adding modules

Craig Clark edited this page Sep 25, 2023 · 2 revisions

Adding modules

Contrib modules

Add the desired module to composer.json in this repo. It is recommended to keep the module list in alphabetical order.

Custom modules

Create custom modules in the modules directory in this repo.

Namespace for custom modules

Custom modules should be preceded with bcbb_, for example, bcbb_my_module.

Adding patches

Add the patch composer.json in this repo.

Deploying base-build modules to projects

Once a module has been added to composer.json in the base-build, run composer update from a projects root. This will bring in any changes to the base-build or base theme.

Resources

Drupal documentation: Using Composer to Install Drupal and Manage Dependencies