You are here

protected function EmailWebformHandler::getDefaultConfigurationValue in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformHandler/EmailWebformHandler.php \Drupal\webform\Plugin\WebformHandler\EmailWebformHandler::getDefaultConfigurationValue()

Get configuration default value.

Parameters

string $name: Configuration name.

Return value

string|array Configuration default value.

3 calls to EmailWebformHandler::getDefaultConfigurationValue()
EmailWebformHandler::buildElement in src/Plugin/WebformHandler/EmailWebformHandler.php
Build A select other element for email address and names.
EmailWebformHandler::getEmailConfiguration in src/Plugin/WebformHandler/EmailWebformHandler.php
Get mail configuration values.
EmailWebformHandler::getMessage in src/Plugin/WebformHandler/EmailWebformHandler.php
Get a fully populated email for a webform submission.

File

src/Plugin/WebformHandler/EmailWebformHandler.php, line 265

Class

EmailWebformHandler
Emails a webform submission.

Namespace

Drupal\webform\Plugin\WebformHandler

Code

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