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!

CommentFileSizeAuthor
#2 shorthand-info-3076221-2.patch324 bytesalonaoneill

Comments

alonaoneill created an issue. See original summary.

alonaoneill’s picture

Assigned: alonaoneill » Unassigned
Status: Active » Needs review
StatusFileSize
new324 bytes
gambry’s picture

Status: Needs review » Closed (duplicate)

I'm closing this in favour of #3139171: Drupal 9 Compatibility where we are tackling this as well as many other CS and Deprecation fixes. I have transferred the credits.

Thanks!