public function SlickEntityFormatterBase::__construct in Slick Carousel 7.3
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/SlickEntityFormatterBase.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickEntityFormatterBase::__construct()
Constructs a SlickEntityFormatter instance.
Overrides FormatterBase::__construct
File
- src/
Plugin/ Field/ FieldFormatter/ SlickEntityFormatterBase.php, line 20
Class
- SlickEntityFormatterBase
- Base class for slick entity reference formatters without field details.
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;
}