public function Webform::setSettingsOverride in Webform 8.5
Same name and namespace in other branches
- 6.x src/Entity/Webform.php \Drupal\webform\Entity\Webform::setSettingsOverride()
Sets the webform settings override.
Using this methods stops a webform from being saved with the overridden settings.
Parameters
array $settings: The structured array containing the webform setting override.
Return value
$this
Overrides WebformInterface::setSettingsOverride
1 call to Webform::setSettingsOverride()
- Webform::invokeHandlers in src/
Entity/ Webform.php - Invoke a handlers method.
File
- src/
Entity/ Webform.php, line 1021
Class
- Webform
- Defines the webform entity.
Namespace
Drupal\webform\EntityCode
public function setSettingsOverride(array $settings) {
$this
->setSettings($settings);
$this
->setOverride();
return $this;
}