2015-07-24 15:28:10 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* Contains install and update functions for Block.
|
|
|
|
*/
|
|
|
|
|
|
|
|
use Drupal\Core\Cache\Cache;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implements hook_install().
|
|
|
|
*/
|
|
|
|
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']);
|
|
|
|
}
|
2015-07-27 21:57:29 +00:00
|
|
|
|
|
|
|
/**
|
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**
2020-01-24 23:52:03 +00:00
|
|
|
* Implements hook_update_last_removed().
|
2015-07-27 21:57:29 +00:00
|
|
|
*/
|
Issue #3087644 by jibran, Berdir, alexpott, longwave, Wim Leers, amateescu, catch, xjm, larowlan, dpi, quietone: Remove Drupal 8 updates up to and including 88**
2020-01-24 23:52:03 +00:00
|
|
|
function block_update_last_removed() {
|
|
|
|
return 8003;
|
2015-09-21 22:19:48 +00:00
|
|
|
}
|