You are here

public function YamlFormSubmissionStorageInterface::getCustomSetting in YAML Form 8

Get customize setting.

Parameters

string $name: Custom settings name.

mixed $default: Custom settings default value.

\Drupal\yamlform\YamlFormInterface|null $yamlform: A form.

\Drupal\Core\Entity\EntityInterface|null $source_entity: A form submission source entity.

Return value

mixed Custom setting.

1 method overrides YamlFormSubmissionStorageInterface::getCustomSetting()
YamlFormSubmissionStorage::getCustomSetting in src/YamlFormSubmissionStorage.php
Get customize setting.

File

src/YamlFormSubmissionStorageInterface.php, line 239

Class

YamlFormSubmissionStorageInterface
Defines an interface for form submission classes.

Namespace

Drupal\yamlform

Code

public function getCustomSetting($name, $default, YamlFormInterface $yamlform = NULL, EntityInterface $source_entity = NULL);