nrel/opencommunications

Open Communications profile for NLR/DOE Drupal sites.

Maintainers

Package info

github.com/NatLabRockies/opencommunications

Language:JavaScript

Type:drupal-profile

pkg:composer/nrel/opencommunications

Statistics

Installs: 4 203

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 5

dev-d10 2026-03-27 18:00 UTC

README

#1 Introduction

OpenCommunications is a Drupal installation profile used to create and maintain all our Drupal sites.

#2 Description of Drupal 10 profile

This profile provides composer.json / composer.lock starter files (in assets/scaffold/files/composer/) that can be copied into a new project folder to scaffold that project. Running composer install against those composer files does the following:

  • scaffolds the site under docroot/
  • symlink web/ to docroot/
  • create a drupal_config/config/ folder if one doesn't exist and copy the starter config from this profile into that folder
    • the modules that are enabled and configured by this profile are:
      • admin_toolbar
      • blazy
      • bootstrap_layouts
      • composer_deploy
      • core-composer-scaffold
      • core-project-message
      • core-recommended
      • ctools
      • embed
      • entity_browser
      • entity_embed
      • entity_reference_revisions
      • field_group
      • health_check
      • honeypot
      • image_widget_crop
      • imagemagick
      • jquery_ui
      • log_stdout
      • metatag
      • module_filter
      • paragraphs
      • password_policy
      • pathauto
      • recaptcha
      • recaptcha_v3
      • reroute_email
      • seckit
      • security_review
      • smtp
      • sophron
      • stage_file_proxy
      • username_enumeration_prevention
      • video_embed_field
      • webform
      • drush
      • nrel_cyber
      • nrel/ses_mailer
      • opencommunications
  • invokes the scaffolding for opencommunications which does the following:
    • copies the starter .gitignore, settings.php files and ses_mailer services yaml from assets/scaffold/files to their respective project locations.
    • The Blazy module (https://www.drupal.org/project/blazy) does not specify a dependency on the Blazy library (https://github.com/dinbror/blazy), so the Blazy library is included as a scaffolding asset. If the Blazy library needs to be updated download the latest version to assets/scaffold/files/blazy
    • applies known outstanding patches to core and the included contrib modules

#3 Usage

##3.1 Create and install a new site from the profile

##3.2 Optional

##3.2.1 reCaptcha

  • Create a recaptcha account for the site
  • set the reCaptcha site and secret keys:
    • drush cset recaptcha.settings site_key new_site_key -y
    • drush cset recaptcha.settings secret_key new_secret_key -y
  • drush cset captcha.settings enabled_default 1 -y

##3.2.2 Google Tag Manager

  • set the id on the 'default' GTM container
    • drush cset google_tag.container.default container_id GTM-xxxxxx -y

##4 Update an existing site that uses the profile

  • composer update nrel/opencommunications

#5 Updating this profile

##5.1 Update a package

  • composer update vendor/package
  • add, commit and push the changes

##5.2 Update the template composer.lock