You are here

public function YamlFormInterface::setSetting in YAML Form 8

Saves a form 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 YamlFormInterface::setSetting()
YamlForm::setSetting in src/Entity/YamlForm.php
Saves a form setting for a given key.

File

src/YamlFormInterface.php, line 180

Class

YamlFormInterface
Provides an interface defining a form entity.

Namespace

Drupal\yamlform

Code

public function setSetting($key, $value);