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).

It is useful for Installation profiles to work well. So sooner is better.
Hope this helps.

Comments

chipway created an issue. See original summary.

chipway’s picture

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

Here is the patch. Please review.
I also
added some missing description end dot.
removed some unnecessary quotes.

Aanal.addweb’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new59.23 KB
new24.57 KB
new24.25 KB

@chipway, Thanks for providing the patch. Your patch is working fine for me. As per the mentioned change, I matched it with Pareview and simplytest.me . PFA.

  • bf8c218 committed on 8.x-2.x
    Issue #3004596: Namespace Dependencies in .info.yml.
    

  • d48fa8c committed on 8.x-3.x
    Issue #3004596: Namespace Dependencies in .info.yml.
    
john.oltman’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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