public function WebformHandlerInterface::overrideSettings in Webform 8.5
Same name and namespace in other branches
- 6.x 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 400
Class
- WebformHandlerInterface
- Defines the interface for webform handlers.
Namespace
Drupal\webform\PluginCode
public function overrideSettings(array &$settings, WebformSubmissionInterface $webform_submission);