protected function FormatterBase::mergeDefaults in Blazy 7
Merges default settings values into $settings.
2 calls to FormatterBase::mergeDefaults()
- FormatterBase::getSetting in src/
Plugin/ Field/ FieldFormatter/ FormatterBase.php - FormatterBase::getSettings in src/
Plugin/ Field/ FieldFormatter/ FormatterBase.php - Gets formatter settings.
File
- src/
Plugin/ Field/ FieldFormatter/ FormatterBase.php, line 154
Class
- FormatterBase
- Base class for blazy/slick image, and file formatters.
Namespace
Drupal\blazy\Plugin\Field\FieldFormatterCode
protected function mergeDefaults() {
$this->settings += static::defaultSettings();
$this->defaultSettingsMerged = TRUE;
}