public function BlazyVideoFormatter::__construct in Blazy 8
Constructs a BlazyFormatter object.
Overrides FormatterBase::__construct
File
- src/
Plugin/ Field/ FieldFormatter/ BlazyVideoFormatter.php, line 24
Class
- BlazyVideoFormatter
- Plugin implementation of the 'Blazy Video' to get VEF videos.
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;
}