You are here

public function WebformInterface::setSettingOverride in Webform 8.5

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

Sets a webform setting override for a given key.

Using this methods stops a webform from being saved with the overridden setting.

Parameters

string $key: The key of the setting override to store.

mixed $value: The data to store.

Return value

$this

1 method overrides WebformInterface::setSettingOverride()
Webform::setSettingOverride in src/Entity/Webform.php
Sets a webform setting override for a given key.

File

src/WebformInterface.php, line 605

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function setSettingOverride($key, $value);