function taxonomy_breadcrumb_block_delete in cctags 8
Implements hook_ENTITY_TYPE_delete().
File
- ./
cctags.module, line 28
Code
function taxonomy_breadcrumb_block_delete(EntityInterface $entity) {
$conn = Database::getConnection();
$conn
->delete('cctags')
->condition('block_id', $entity
->id())
->execute();
}