Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 |
---|---|---|---|
#6 | Screen Shot 2018-09-24 at 1.14.43 PM.png | 23.59 KB | volkswagenchick |
#4 | search_api_stats-info-3001985-4.patch | 1.03 KB | alonaoneill |
#4 | interdiff-3001985-2-4.txt | 605 bytes | alonaoneill |
#3 | Screen Shot 2018-09-24 at 9.37.30 AM.png | 23.47 KB | volkswagenchick |
#2 | search_api_stats-info-3001985-2.patch | 452 bytes | alonaoneill |
Comments
Comment #2
alonaoneill CreditAttribution: alonaoneill at Hook 42 commentedI uploaded a patch that corrects the dependency namespacing in the .info.yml file.
Thanks!
Comment #3
volkswagenchickChanged the name of the issue, it looks like you went ahead and capitalized the name of the project as per: https://www.drupal.org/docs/develop/documenting-your-project/help-text-s...
Code looks good. Dependency namespacing was addressed. Patch applied via simplytest.me. Screenshot attached of Extend page.
Although - i did noticed the submodule is not capitalized. Marking needs work. Thanks!
Comment #4
alonaoneill CreditAttribution: alonaoneill at Hook 42 commentedComment #5
alonaoneill CreditAttribution: alonaoneill at Hook 42 commentedI uploaded a patch that Capitalize the name of the submodule in the .info.yml file.
Interdiff added.
Thanks!
Comment #6
volkswagenchickLooks good, thanks for including an interdiff. Patch applied using simplytest.me and both module names are now in title case on extend page.
screenshot attached, marking RTBC
Comment #8
mandclu CreditAttribution: mandclu at Northern Commerce commentedThanks for the patch, and for the feedback. Merged in.