Skip to content

Instantly share code, notes, and snippets.

@scottalan
Last active July 20, 2016 19:40
Show Gist options
  • Select an option

  • Save scottalan/c9ae08bb36d9c015ae4d5e619ba9de6d to your computer and use it in GitHub Desktop.

Select an option

Save scottalan/c9ae08bb36d9c015ae4d5e619ba9de6d to your computer and use it in GitHub Desktop.
D8:Adding a new module to a build.
  • If this is a profile you will need to add the module to the PROFILE.info.yml file.
  • To ensure the module is enabled add it to sites/default/config/core.extension.yml
  • Now to actually add the module to the codebase:
  • If using a make file find the PROJECT.make file and add an entry there as well, e.g.,:
 flag:
  download:
    # 2016-7-20
    branch: "8.x-4.x"
    revision: eceaa7d
  • If using composer:
  "require": {
  "drupal/flag": "8.4.x-dev#eceaa7d",
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment