You are here

public function WebformInterface::setSetting in Webform 8.5

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

Sets a webform setting for a given key.

Parameters

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

mixed $value: The data to store.

Return value

$this

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

File

src/WebformInterface.php, line 572

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function setSetting($key, $value);