According to Drupal standards, modules should include dependencies in the .info.yml file.
Dependencies should be namespaced in the format {project}:{module}, where {project} is the project name as it appears in the Drupal.org URL (e.g. drupal.org/project/views) and {module} is the module's machine name.
https://www.drupal.org/docs/8/creating-custom-modules/let-drupal-8-know-...

Patch to follow, thanks!

Comments

alonaoneill created an issue. See original summary.

alonaoneill’s picture

Assigned: alonaoneill » Unassigned
Status: Active » Needs review
StatusFileSize
new351 bytes
uditrawat’s picture

Priority: Normal » Minor

  • akalata committed cf88cc9 on 8.x-1.x authored by alonaoneill
    Issue #3075534 by alonaoneill: Dependency namespacing in .info.yml file
    
akalata’s picture

Status: Needs review » Fixed

@alonaoneill Thanks! I didn't know about the `drupal:` namespacing.

Status: Fixed » Closed (fixed)

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