You are here

public function WebformSubmission::resave in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Entity/WebformSubmission.php \Drupal\webform\Entity\WebformSubmission::resave()

Resave a webform submission without trigger any hooks or handlers.

Overrides WebformSubmissionInterface::resave

File

src/Entity/WebformSubmission.php, line 893

Class

WebformSubmission
Defines the WebformSubmission entity.

Namespace

Drupal\webform\Entity

Code

public function resave() {
  return $this
    ->entityTypeManager()
    ->getStorage($this->entityTypeId)
    ->resave($this);
}