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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Fabianx’s picture

Status: Needs review » Reviewed & tested by the community
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Yes this is just in the wrong place. Committed bcbf489 and pushed to 8.0.x. Thanks!

  • alexpott committed bcbf489 on 8.0.x
    Issue #2535284 by jibran: Move block_install hook to block.install file
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.