You are here

public function EntityMonitorUpdateRunnerInterface::onEntityUpdate in Scheduled Updates 8

Fires when entity of type to be updated is changed.

This function is fired every time and entity of the type that the Scheduled Update Type is up

Parameters

\Drupal\Core\Entity\ContentEntityInterface $entity:

Return value

mixed

1 method overrides EntityMonitorUpdateRunnerInterface::onEntityUpdate()
EmbeddedUpdateRunner::onEntityUpdate in src/Plugin/UpdateRunner/EmbeddedUpdateRunner.php
Fires when entity of type to be updated is changed.

File

src/Plugin/EntityMonitorUpdateRunnerInterface.php, line 28

Class

EntityMonitorUpdateRunnerInterface
Provides an interface Update runners that need to monitor entities.

Namespace

Drupal\scheduled_updates\Plugin

Code

public function onEntityUpdate(ContentEntityInterface $entity);