You are here

function lightning_layout_block_content_delete in Lightning Layout 8.2

Same name and namespace in other branches
  1. 8 lightning_layout.module \lightning_layout_block_content_delete()

Implements hook_block_content_delete().

File

./lightning_layout.module, line 42
Contains layout functionality for Lightning.

Code

function lightning_layout_block_content_delete(BlockContentInterface $block_content) {
  Drupal::service('block_content.uuid_lookup')
    ->delete($block_content
    ->uuid());
}