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 |
---|---|---|---|
#5 | 2995711-5.patch | 457 bytes | bendeguz.csirmaz |
#2 | lightning_core-info-2995711-2.patch | 651 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
volkswagenchickCode looks good. The dependency namespacing issue has been addressed. I made sure that all that were marked core, were in fact in core.
Thanks. Patch applied via simplytest.me.
Marking as RTBC
Comment #4
phenaproximaSo this patch looks good, except for one thing: the stuff under
components
should not be namespaced. Those are internal Lightning things and are not parsed as dependencies. So if the namespacing is removed from those items, I think this is RTBC.Comment #5
bendeguz.csirmaz CreditAttribution: bendeguz.csirmaz at Cheppers commentedRemoved namespaces from components.
Comment #7
phenaproximaCommitted and pushed to 8.x-3.x. Thanks!