You are here

protected function EmailYamlFormHandler::getDefaultConfigurationValue in YAML Form 8

Get configuration default value.

Parameters

string $name: Configuration name.

Return value

string|array Configuration default value.

3 calls to EmailYamlFormHandler::getDefaultConfigurationValue()
EmailYamlFormHandler::buildConfigurationForm in src/Plugin/YamlFormHandler/EmailYamlFormHandler.php
Form constructor.
EmailYamlFormHandler::getEmailConfiguration in src/Plugin/YamlFormHandler/EmailYamlFormHandler.php
Get mail configuration values.
EmailYamlFormHandler::getMessage in src/Plugin/YamlFormHandler/EmailYamlFormHandler.php
Get a fully populated email for a form submission.

File

src/Plugin/YamlFormHandler/EmailYamlFormHandler.php, line 153

Class

EmailYamlFormHandler
Emails a form submission.

Namespace

Drupal\yamlform\Plugin\YamlFormHandler

Code

protected function getDefaultConfigurationValue($name) {
  $default_values = $this
    ->getDefaultConfigurationValues();
  return $default_values[$name];
}