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.
There was an issue about it #1309298: Document that hook_(en|dis)able implementations should live in .install files
Comment | File | Size | Author |
---|---|---|---|
#6 | commerce_examples-moved-hook-enabled-1325746-5.patch | 2.03 KB | makangus |
Comments
Comment #1
rfayThanks - I didn't know that. You don't have any idea why it matters do you?
I think we have it in .module in commerce in general.
Comment #2
andypostNo matter just remembered about this change in 8
Comment #3
rfayMoved in http://drupalcode.org/project/commerce_examples.git/commitdiff/c141076
Comment #5
bobbyaldol CreditAttribution: bobbyaldol commentedThe hook_enable for the Order Example module still resides in the .module file rather than in the .install file.
Comment #6
makangus CreditAttribution: makangus commentedPlaying around, thought I would close your last opened bug.
Comment #7
bobbyaldol CreditAttribution: bobbyaldol commentedComment #8
rfayAs mentioned in #1841306-04: PHP Notice when user is Anonymous
Thanks for maintaining this!
Comment #9
bobbyaldol CreditAttribution: bobbyaldol commented@rfay: I thank you for giving me this opportunity to learn something new and guiding me all the way for the last three months.
I wish I could devote more time to this.