You are here

public function SlickEntityReferenceFormatterBase::__construct in Slick Carousel 7.3

Same name and namespace in other branches
  1. 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\FieldFormatter

Code

public function __construct($plugin_id, $field, $instance, SlickFormatterInterface $formatter, SlickManagerInterface $manager) {
  parent::__construct($plugin_id, $field, $instance);
  $this->formatter = $formatter;
  $this->manager = $manager;
}