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