You are here

public constant HookEventDispatcherInterface::ENTITY_PRE_SAVE in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 src/HookEventDispatcherInterface.php \Drupal\hook_event_dispatcher\HookEventDispatcherInterface::ENTITY_PRE_SAVE
  2. 8 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';