BlockVariantEvents::UPDATE_BLOCK

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

The name of the event triggered when a block is modified in a variant.

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

File

src/Event/BlockVariantEvents.php, line 34

Class

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

Namespace

Drupal\ctools\Event

Code

const UPDATE_BLOCK = 'block.update';