public function SlickFormatterBase::__construct in Slick Carousel 7.3
Constructs a SlickImageFormatter instance.
Overrides FormatterBase::__construct
File
- src/
Plugin/ Field/ FieldFormatter/ SlickFormatterBase.php, line 21
Class
- SlickFormatterBase
- Base class for slick image and file entity (Media) formatters.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
public function __construct($plugin_id, $field, $instance, SlickFormatterInterface $formatter, SlickManagerInterface $manager) {
parent::__construct($plugin_id, $field, $instance);
$this->formatter = $formatter;
$this->manager = $manager;
}