Skip to content
Drupal modules that provide a framework for back-end and front-end development.
JavaScript PHP CSS HTML
Branch: 8.x-1.x
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ambientimpact_block
ambientimpact_core
ambientimpact_icon
ambientimpact_media
ambientimpact_migrate
ambientimpact_paragraphs
ambientimpact_portfolio
ambientimpact_ux
ambientimpact_web
grunt
.browserslistrc
.gitignore
Gruntfile.js
component_explainer.md
license.txt
migration.md
package-lock.json
package.json
readme.md
security.md
third-party_libraries.md

readme.md

This respository contains Drupal modules that provide a framework for back-end and front-end development which includes many PHP, JavaScript, and Sass utilities, UX improvements and widgets, base styles, and libraries; for more information, see the component system explainer. These are used across multiple sites, including ambientimpact.com.

While not required for these modules to operate, the ambientimpact_base theme integrates heavily with these modules.

Using Composer

If you're using Composer to manage your root project (which you really should), assuming your project is using drupal-composer/drupal-project and has installed both wikimedia/composer-merge-plugin and cweagans/composer-patches, you must add the following to your root composer.json:

"extra": {
  "merge-plugin": {
    "include": [
      "drupal/modules/ambientimpact/*/composer.json",
      "drupal/modules/ambientimpact/*/*/composer.json"
    ],
    "merge-extra": true,
    "merge-extra-deep": true
  }
}

Once everything is configured, running composer install in your project root is all you have to do.

Notes

  • The merge-plugin item should already exist by default in your root composer.json, so you'll have to merge it in manually.
  • If you install this to a different location, update the path accordingly.
  • You must define patches in your root composer.json and not in an external file via the patches-file setting for wikimedia/composer-merge-plugin to be able to merge in patches from dependencies.
  • If your Drupal project was already installed manually or via Drush, you can use grasmash/composerize-drupal to convert it to Composer.

Third-party front-end libraries

These are managed via Composer like back-end dependencies. See third-party_libraries.md for more information.

You can’t perform that action at this time.