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.
Name must be capitalized per coding standards.
Hope this helps.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Block In Page Not Found.png | 36.1 KB | zalak.addweb |
| #3 | before_patch_Block In Page Not Found.png | 24.63 KB | zalak.addweb |
| #3 | after_patch_Block In Page Not Found.png | 24.24 KB | zalak.addweb |
| #2 | Update_dependencies_format_in_info.yml_3004807-2.patch | 444 bytes | chipway |
Comments
Comment #2
chipway commentedHere is the patch. Please review.
Comment #3
zalak.addweb commented@chipway, Thanks for solving both the issues, as per standards your patch is correctly implemented. I mated it with Pareview standard errors & it shows me the same. PFA
Comment #5
matio89 commentedThe patch works.Thank you @chipway.