All dependencies must be prefixed by project name, So please apply new {project}:{module} format for dephttps://www.drupal.org/docs/8/creating-custom-modules/let-drupal-8-know-... in info.yml filehttps://www.drupal.org/docs/8/creating-custom-modules/let-drupal-8-know-about-your-module-with-an-infoyml-file

It is supported since 8.0 and 7.40 Change Record: Project namespaces can now be added for module dependencies, and is now a Best Practice Define project dependencies in core module .info files).

Hope this helps.

Comments

chipway created an issue. See original summary.

chipway’s picture

Assigned: chipway » Unassigned
Status: Needs work » Needs review
StatusFileSize
new287 bytes

Here is the patch. Please review.

alonaoneill’s picture

Code looks good. The dependency namespacing aligns with Drupal documentation standards.
Patch applied via simplytest.me
Marking as RTBC
Thank you for working on module!

alonaoneill’s picture

Status: Needs review » Reviewed & tested by the community

  • bmcclure committed 60c060d on 8.x-1.x authored by chipway
    Issue #3001784 by chipway, alonaoneill: Namespace Dependencies in .info....
replicaobscura’s picture

Version: 8.x-2.x-dev » 8.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

Thanks! I committed this to the 1.x branch as that's the only active branch currently I believe, but it can be ported over to 2.x if needed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.