Add a composer.json file to your Drupal 8 module. The example below gives everything you need.
The obvious choice is , but it doesn’t work recursively, which is when I found the example below.
As we head towards Drupal 8 there has been a lot of talk about versioning for contrib.
Admittedly this was after in 2011 I tried to get the module removed from Drupal core.
In this post we’ll look at a simple way to override services using aliases
You will also notice in composer.json under the “require” section is where drupal/token and drupal/devel are added
Copyright © 2011 - 2024 Express Magazine. All rights reserved.