public function FormatterBase::setSettings in Blazy 7
Sets formatter settings.
1 call to FormatterBase::setSettings()
- FormatterBase::setupFieldVariables in src/
Plugin/ Field/ FieldFormatter/ FormatterBase.php - Setup common variables across different hooks.
File
- src/
Plugin/ Field/ FieldFormatter/ FormatterBase.php, line 126
Class
- FormatterBase
- Base class for blazy/slick image, and file formatters.
Namespace
Drupal\blazy\Plugin\Field\FieldFormatterCode
public function setSettings(array $settings = []) {
$this->settings = $settings;
$this->defaultSettingsMerged = FALSE;
return $this;
}