protected function BgImageFormatter::mergeDefaults in Background Images Formatter 8
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/BgImageFormatter.php \Drupal\bg_image_formatter\Plugin\Field\FieldFormatter\BgImageFormatter::mergeDefaults()
Merges default settings values into $settings.
Overrides PluginSettingsBase::mergeDefaults
File
- src/
Plugin/ Field/ FieldFormatter/ BgImageFormatter.php, line 622
Class
- BgImageFormatter
- Class BgImageFormatter.
Namespace
Drupal\bg_image_formatter\Plugin\Field\FieldFormatterCode
protected function mergeDefaults() {
$this->settings = ArrayUtils::merge(self::defaultSettings(), $this->settings);
$this->defaultSettingsMerged = TRUE;
}