You are here

public function WebformHandlerInterface::overrideSettings in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformHandlerInterface.php \Drupal\webform\Plugin\WebformHandlerInterface::overrideSettings()

Alter/override a webform submission webform settings.

IMPORTANT: Webform settings are overridden for just the webform submission. Overridden settings are never saved to the Webform's configuration.

Parameters

array $settings: An associative array containing the webform settings.

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

1 method overrides WebformHandlerInterface::overrideSettings()
WebformHandlerBase::overrideSettings in src/Plugin/WebformHandlerBase.php
Alter/override a webform submission webform settings.

File

src/Plugin/WebformHandlerInterface.php, line 354

Class

WebformHandlerInterface
Defines the interface for webform handlers.

Namespace

Drupal\webform\Plugin

Code

public function overrideSettings(array &$settings, WebformSubmissionInterface $webform_submission);