You are here

function lightning_layout_block_content_delete in Lightning Layout 8

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

Implements hook_block_content_delete().

File

./lightning_layout.module, line 60
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());
}