public function WebformElementInterface::postSave in Webform 6.x
Same name and namespace in other branches
- 8.5 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\PluginCode
public function postSave(array &$element, WebformSubmissionInterface $webform_submission, $update = TRUE);