block_install

block_install()

Implements hook_install().

File

core/modules/block/block.install, line 13
Contains install and update functions for Block.

Code

function block_install() {
  // Because the Block module upon installation unconditionally overrides all
  // HTML output by selecting a different page display variant, we must
  // invalidate all cached HTML output.
  Cache::invalidateTags(['rendered']);
}
doc_Drupal
2016-10-29 08:47:53
Comments
Leave a Comment

Please login to continue.