You are here

public function WebformElementInterface::postSave in Webform 8.5

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

Acts on a saved webform submission element before the insert or update hook is invoked.

Parameters

array $element: An element.

\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.

bool $update: TRUE if the entity has been updated, or FALSE if it has been inserted.

1 method overrides WebformElementInterface::postSave()
WebformElementBase::postSave in src/Plugin/WebformElementBase.php
Acts on a saved webform submission element before the insert or update hook is invoked.

File

src/Plugin/WebformElementInterface.php, line 862

Class

WebformElementInterface
Defines the interface for webform elements.

Namespace

Drupal\webform\Plugin

Code

public function postSave(array &$element, WebformSubmissionInterface $webform_submission, $update = TRUE);