public function BlazyFileFormatterBase::__construct in Blazy 8
Constructs a BlazyFormatter object.
Overrides FormatterBase::__construct
File
- src/
Plugin/ Field/ FieldFormatter/ BlazyFileFormatterBase.php, line 34
Class
- BlazyFileFormatterBase
- Base class for blazy/slick image, and file ER formatters.
Namespace
Drupal\blazy\Plugin\Field\FieldFormatterCode
public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings, BlazyFormatterManager $blazy_manager) {
parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $label, $view_mode, $third_party_settings);
$this->blazyManager = $blazy_manager;
}