1.20.x entity.controller.inc protected EntityDatabaseStorageController::postSave(EntityInterface $entity, $update)

Acts on a saved entity before the insert or update hook is invoked.

Used after the entity is saved, but before invoking the insert or update hook.

Parameters

$update: (bool) TRUE if the entity has been updated, or FALSE if it has been inserted.

File

modules/entity/entity.controller.inc, line 697
Entity API controller classes and interface.

Class

EntityDatabaseStorageController
Implements the entity storage controller interface for the database.

Code

protected function postSave(EntityInterface $entity, $update) {
}