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.

Issue fork starrating-3003264

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

chipway created an issue. See original summary.

chipway’s picture

Title: Namespace Dependencies in .info.yml » Namespace Dependencies in .info.yml + misc coding standards
Assigned: chipway » Unassigned
Status: Needs work » Needs review
StatusFileSize
new371 bytes

Here is the patch. Please review.

I also added the missing description end dot and removed the duplicate end line per coding standards.

alonaoneill’s picture

Status: Needs review » Reviewed & tested by the community

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!

voleger made their first commit to this issue’s fork.

voleger’s picture

Version: 8.x-2.x-dev » 8.x-4.x-dev

  • voleger committed 792a2c74 on 8.x-4.x
    Issue #3003264 by chipway: Namespace Dependencies in .info.yml + misc...
voleger’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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