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

Comments

JQTNguyen created an issue. See original summary.

jqtnguyen’s picture

Assigned: jqtnguyen » Unassigned
Status: Active » Needs review
StatusFileSize
new315 bytes

  • MegaChriz committed ab36f19 on 8.x-2.x authored by JQTNguyen
    Issue #2996593 by JQTNguyen: Updated format of dependencies in .info...
megachriz’s picture

Title: Update Format of Dependencies in .info File » Update format of dependencies in .info file
Status: Needs review » Fixed

Thanks for the patch! Committed #2.

Status: Fixed » Closed (fixed)

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