You are here

function d8cache_form_block_custom_block_delete_alter in Drupal 8 Cache Backport 7

Implements hook_form_FORM_ID_alter().

File

includes/block.inc, line 54
Block functions and hooks for the D8 caching system backport.

Code

function d8cache_form_block_custom_block_delete_alter(&$form, $form_state) {
  $form['#submit'][] = '_d8cache_invalidate_block_view_submit';
}