You are here

function entity_block_delete in Entity Blocks 7

Deletes an entity block.

Parameters

EntityBlock $entity.: The full EntityBlock object to delete.

File

./entity_block.module, line 455
Display entities (via view modes) as fieldable blocks.

Code

function entity_block_delete($entity) {
  entity_get_controller('entity_block')
    ->delete($entity);
}