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!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | dependency_Amazon Product Advertisement API.png | 30.75 KB | Aanal.addweb |
| #3 | dependency_Amazon Product Advertisement API_2.png | 30.75 KB | Aanal.addweb |
| #2 | amazon-info-3016835-2.patch | 772 bytes | alonaoneill |
Comments
Comment #2
alonaoneill commentedI uploaded a patch that fixs dependency namespacing in the .info.yml file.
Thanks!
Comment #3
Aanal.addweb commented@alonaoneill, Thanks for providing the patch. Your patch is working fine for me. As per the mentioned changes, I matched it with Pareview. PFA.