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 |
|---|---|---|---|
| #5 | 2995713-5.patch | 11.06 KB | rajab natshah |
| #2 | varbase_core-info-2995713-2.patch | 1.13 KB | alonaoneill |
Comments
Comment #2
alonaoneill commentedI uploaded a patch that corrects the dependency namespacing in the .info.yml file.
Thanks!
Comment #3
volkswagenchickCode looks good. Patch applied via simplytest.me. I compared file to core modules and the dependency namespacing issue has been addressed.
Marking RTBC
Comment #4
rajab natshahComment #5
rajab natshahUpdated the patch file.
Comment #6
rajab natshahComment #8
rajab natshah#1356276: Allow profiles to define a base/parent profile
#2855026: Installation profiles do not support project:module format for dependencies
Comment #9
rajab natshahComment #13
rajab natshahComment #16
rajab natshahComment #17
rajab natshah