You are here

public function YamlFormInterface::getSetting in YAML Form 8

Returns the form settings for a given key.

Parameters

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

Return value

mixed The settings value, or NULL if no settings exists.

1 method overrides YamlFormInterface::getSetting()
YamlForm::getSetting in src/Entity/YamlForm.php
Returns the form settings for a given key.

File

src/YamlFormInterface.php, line 168

Class

YamlFormInterface
Provides an interface defining a form entity.

Namespace

Drupal\yamlform

Code

public function getSetting($key);