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.
Problem/Motivation
hook_install
is always defined in module.install file for block it exist in .module
file
Proposed resolution
Move the hook to block.install
.
Remaining tasks
RTBC
User interface changes
None
API changes
None
Data model changes
None
Follow-up to #2493091: Installing block module should invalidate the 'rendered' cache tag
Comment | File | Size | Author |
---|---|---|---|
block.install.patch | 1.43 KB | jibran | |
Comments
Comment #1
Fabianx CreditAttribution: Fabianx as a volunteer commentedComment #2
alexpottYes this is just in the wrong place. Committed bcbf489 and pushed to 8.0.x. Thanks!