BlockVariantEvents::DELETE_BLOCK

Same name in other branches
  1. 8.x-3.x src/Event/BlockVariantEvents.php \Drupal\ctools\Event\BlockVariantEvents::DELETE_BLOCK

The name of the event triggered when a block is removed from a variant.

This event allows modules to react to a block being removed from a variant. The event listener method receives a \Drupal\ctools\Event\BlockVariantEvent instance.

File

src/Event/BlockVariantEvents.php, line 47

Class

BlockVariantEvents
Contains all events dispatched while manipulating blocks in a variant.

Namespace

Drupal\ctools\Event

Code

const DELETE_BLOCK = 'block.delete';