You are here

abstract public function EntityEventPresaveSubscriber::onEntityPresave in Entity Events 2.0.x

Method called when Event occurs.

Parameters

\Drupal\entity_events\Event\EntityEvent $event: The event.

File

src/EventSubscriber/EntityEventPresaveSubscriber.php, line 28

Class

EntityEventPresaveSubscriber
Event subscriber for entity presave event.

Namespace

Drupal\entity_events\EventSubscriber

Code

public abstract function onEntityPresave(EntityEvent $event);