Project Dependency

Component ID

1108570

Component name

Project Dependency

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

6558

Component created

Component changed

Component body

This project provides dependencies for releases. This allows the testbots to download the dependencies for automated testing. The dependencies are specified in the *.info (Drupal 7 and earlier) or *.info.yml (Drupal 8) files. The module required is specified but since module names are not unique this can lead to problems. Therefore it is now recommended that the project also be specified in the dependency. In Drupal 7:

dependencies[] = project:module (>=version)

In Drupal 8:

dependencies
  - project:module (>=version)

The module name is required, the project name is recommended and the version is optional. See the Project Namespaces change record for more information.

If a dependency is just required for testing then it can be specified as follows (for Drupal 7):

test_dependencies[] = project:module (>=version)

The 7.x-2.0 branch starts adding support in Project Dependency for Composer.