You are here

public function ContentEntityStorageInterface::saveWithoutForcingNewRevision in Multiversion 8.2

Same name and namespace in other branches
  1. 8 src/Entity/Storage/ContentEntityStorageInterface.php \Drupal\multiversion\Entity\Storage\ContentEntityStorageInterface::saveWithoutForcingNewRevision()

Save the given entity without forcing a new revision.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: Entity that should be saved.

Return value

SAVED_NEW or SAVED_UPDATED is returned depending on the operation performed.

Throws

\Drupal\Core\Entity\EntityStorageException In case of failures, an exception is thrown.

File

src/Entity/Storage/ContentEntityStorageInterface.php, line 48

Class

ContentEntityStorageInterface

Namespace

Drupal\multiversion\Entity\Storage

Code

public function saveWithoutForcingNewRevision(EntityInterface $entity);