You are here

public function SlickFormatterPlugin::__construct in Slick Carousel 7.3

Constructs a SlickPlugin instance.

Overrides FormatterPlugin::__construct

File

src/Plugin/Field/FieldFormatter/SlickFormatterPlugin.php, line 25

Class

SlickFormatterPlugin
Slick formatter initializer.

Namespace

Drupal\slick\Plugin\Field\FieldFormatter

Code

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