You are here

public function SlickFileFormatterBase::__construct in Slick Carousel 8

Constructs a SlickImageFormatter instance.

File

src/Plugin/Field/FieldFormatter/SlickFileFormatterBase.php, line 23

Class

SlickFileFormatterBase
Base class for slick image and file ER formatters.

Namespace

Drupal\slick\Plugin\Field\FieldFormatter

Code

public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings, BlazyFormatterManager $blazy_manager, SlickFormatterInterface $formatter, SlickManagerInterface $manager) {
  parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $label, $view_mode, $third_party_settings, $blazy_manager);
  $this->formatter = $formatter;
  $this->manager = $manager;
}