You are here

function d8cache_form_block_add_block_form_alter in Drupal 8 Cache Backport 7

Implements hook_form_FORM_ID_alter().

File

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

Code

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