You are here

protected function SettingsWebformHandler::getSettingsDefinitions in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Plugin/WebformHandler/SettingsWebformHandler.php \Drupal\webform\Plugin\WebformHandler\SettingsWebformHandler::getSettingsDefinitions()

Get webform setting definitions.

Return value

array Webform setting definitions defined in webform.entity.webform.schema.yml

4 calls to SettingsWebformHandler::getSettingsDefinitions()
SettingsWebformHandler::buildConfigurationForm in src/Plugin/WebformHandler/SettingsWebformHandler.php
Form constructor.
SettingsWebformHandler::displayDebug in src/Plugin/WebformHandler/SettingsWebformHandler.php
Display debugging information about the current action.
SettingsWebformHandler::getSubmissionSettingsOverride in src/Plugin/WebformHandler/SettingsWebformHandler.php
Get webform submission's overridden settings.
SettingsWebformHandler::getSummary in src/Plugin/WebformHandler/SettingsWebformHandler.php
Returns a render array summarizing the configuration of the webform handler.

File

src/Plugin/WebformHandler/SettingsWebformHandler.php, line 363

Class

SettingsWebformHandler
Webform submission settings handler.

Namespace

Drupal\webform\Plugin\WebformHandler

Code

protected function getSettingsDefinitions() {
  $definition = $this->typedConfigManager
    ->getDefinition('webform.webform.*');
  return $definition['mapping']['settings']['mapping'];
}