You are here

public constant HookEventDispatcherInterface::ENTITY_PRE_SAVE in Hook Event Dispatcher 8.2

Same name and namespace in other branches
  1. 8 src/HookEventDispatcherInterface.php \Drupal\hook_event_dispatcher\HookEventDispatcherInterface::ENTITY_PRE_SAVE
  2. 3.x src/HookEventDispatcherInterface.php \Drupal\hook_event_dispatcher\HookEventDispatcherInterface::ENTITY_PRE_SAVE

Act on an entity before it is created or updated.

See also

core_event_dispatcher_entity_presave()

hook_entity_presave()

File

src/HookEventDispatcherInterface.php, line 74

Class

HookEventDispatcherInterface
Interface HookEventDispatcherInterface.

Namespace

Drupal\hook_event_dispatcher

Code

public const ENTITY_PRE_SAVE = self::PREFIX . 'entity.presave';