Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | dependency_Boxout.png | 31.38 KB | Aanal.addweb |
#4 | without_patch_Boxout.png | 21.69 KB | Aanal.addweb |
#4 | with_patch_Boxout.png | 21.49 KB | Aanal.addweb |
#2 | Update_dependencies_format_in_info.yml_3004606-2.patch | 378 bytes | chipway |
Comments
Comment #2
chipway CreditAttribution: chipway at Chipway commentedHere is the patch. Please review.
I also
added a missing description end dot.
Comment #3
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commentedComment #4
Aanal.addweb CreditAttribution: Aanal.addweb at AddWeb Solution Pvt. Ltd. commented@chipway, Thanks for solving the issues, it seems your patch is working fine for me. For Description related changes I checked your patch using simplytest.me & attached images for the same & for Dependency related standard error, I attached the screenshot of pareview, PFA.
Comment #6
marcelovaniComment #7
marcelovaniThanks all