public function WebformSubmissionStorageInterface::resave in Webform 6.x
Same name and namespace in other branches
- 8.5 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 498
Class
- WebformSubmissionStorageInterface
- Defines an interface for webform submission classes.
Namespace
Drupal\webformCode
public function resave(EntityInterface $entity);