public function ContentEntityStorageInterface::saveWithoutForcingNewRevision in Multiversion 8.2
Same name and namespace in other branches
- 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
Namespace
Drupal\multiversion\Entity\StorageCode
public function saveWithoutForcingNewRevision(EntityInterface $entity);