protected function SettingsWebformHandler::getSettingsOverride in Webform 8.5
Same name and namespace in other branches
- 6.x src/Plugin/WebformHandler/SettingsWebformHandler.php \Drupal\webform\Plugin\WebformHandler\SettingsWebformHandler::getSettingsOverride()
Get overridden settings.
Return value
array An associative array containing overridden settings.
3 calls to SettingsWebformHandler::getSettingsOverride()
- 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 374
Class
- SettingsWebformHandler
- Webform submission settings handler.
Namespace
Drupal\webform\Plugin\WebformHandlerCode
protected function getSettingsOverride() {
$settings = $this->configuration;
unset($settings['debug']);
$default_configuration = $this
->defaultConfiguration();
foreach ($settings as $name => $value) {
if (isset($default_configuration[$name]) && $default_configuration[$name] === $value) {
unset($settings[$name]);
}
}
return $settings;
}