You are here

public function SlickTextFormatter::__construct in Slick Carousel 7.3

Same name and namespace in other branches
  1. 8 src/Plugin/Field/FieldFormatter/SlickTextFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickTextFormatter::__construct()

Constructs a SlickTextFormatter instance.

Overrides FormatterBase::__construct

File

src/Plugin/Field/FieldFormatter/SlickTextFormatter.php, line 20

Class

SlickTextFormatter
Plugin implementation of the 'Slick Text' formatter.

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;
}