function _d8cache_invalidate_block_view_submit in Drupal 8 Cache Backport 7
Submit handler to invalidate block_view cache tag.
3 string references to '_d8cache_invalidate_block_view_submit'
- d8cache_form_block_add_block_form_alter in includes/
block.inc - Implements hook_form_FORM_ID_alter().
- d8cache_form_block_admin_display_form_alter in includes/
block.inc - Implements hook_form_FORM_ID_alter().
- d8cache_form_block_custom_block_delete_alter in includes/
block.inc - Implements hook_form_FORM_ID_alter().
File
- includes/
block.inc, line 106 - Block functions and hooks for the D8 caching system backport.
Code
function _d8cache_invalidate_block_view_submit($form, $form_state) {
drupal_invalidate_cache_tags(array(
'block_view',
));
}