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.
Node module key doesn't actually need to correspond to anything (I believe that PDD book suggests using something other than module name for it in it's examples -- haven't read it but someone mentioned something like that), and also if module_key == current module, it gets added O.O!
Comment | File | Size | Author |
---|---|---|---|
module_key_is_a_ruse.patch | 774 bytes | hefox | |
Comments
Comment #1
wizonesolutionsConfirmed patch applies. hefox, you're a co-maintainer now so you can just RTBC and commit if this is still worth it. Right? :D
Comment #2
hefox CreditAttribution: hefox commentedYep, for tiny patches like this one review seems good enough. Getting ready for a labour day dinner, so later :P
Comment #3
hefox CreditAttribution: hefox commentedd7 now has the 'base' key now and 'module' corresponds to defining module (http://api.drupal.org/api/drupal/modules--node--node.module/function/_no...) and not directly from the code, so as far as I can tell this doesn't need to be ported.