public function FormatterBase::setHtmlSettings in Blazy 7
Sets html settings.
1 call to FormatterBase::setHtmlSettings()
- FormatterBase::view in src/
Plugin/ Field/ FieldFormatter/ FormatterBase.php - Implements hook_field_formatter_view().
File
- src/
Plugin/ Field/ FieldFormatter/ FormatterBase.php, line 162
Class
- FormatterBase
- Base class for blazy/slick image, and file formatters.
Namespace
Drupal\blazy\Plugin\Field\FieldFormatterCode
public function setHtmlSettings(array $settings = []) {
$this->htmlSettings = $settings;
return $this;
}