You are here

public function WebformSubmissionStorageInterface::resave in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionStorageInterface.php \Drupal\webform\WebformSubmissionStorageInterface::resave()

Resaves the entity without triggering any hooks or handlers.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity to save.

Return value

bool|int If the record insert or update failed, returns FALSE. If it succeeded, returns SAVED_NEW or SAVED_UPDATED, depending on the operation performed.

Throws

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

1 method overrides WebformSubmissionStorageInterface::resave()
WebformSubmissionStorage::resave in src/WebformSubmissionStorage.php
Resaves the entity without triggering any hooks or handlers.

File

src/WebformSubmissionStorageInterface.php, line 499

Class

WebformSubmissionStorageInterface
Defines an interface for webform submission classes.

Namespace

Drupal\webform

Code

public function resave(EntityInterface $entity);