You are here

public function EntityNeedsSaveTrait::postSave in Entity Reference Revisions 8

File

src/EntityNeedsSaveTrait.php, line 35

Class

EntityNeedsSaveTrait
Trait for EntityNeedsSaveInterface.

Namespace

Drupal\entity_reference_revisions

Code

public function postSave(EntityStorageInterface $storage, $update = TRUE) {
  parent::postSave($storage, $update);
  $this
    ->setNeedsSave(FALSE);
}