
| Current Path : /var/www/html/c12park/web/modules/contrib/ctools/src/Event/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/c12park/web/modules/contrib/ctools/src/Event/BlockVariantEvents.php |
<?php
namespace Drupal\ctools\Event;
/**
* Contains all events dispatched while manipulating blocks in a variant.
*/
final class BlockVariantEvents {
/**
* The name of the event triggered when a block is added to a variant.
*
* This event allows modules to react to a block being added to a variant. The
* event listener method receives a \Drupal\ctools\Event\BlockVariantEvent
* instance.
*
* @Event
*
* @var string
*/
const ADD_BLOCK = 'block.add';
/**
* 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.
*
* @Event
*
* @var string
*/
const UPDATE_BLOCK = 'block.update';
/**
* 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.
*
* @Event
*
* @var string
*/
const DELETE_BLOCK = 'block.delete';
}