public function SlickTextFormatter::__construct in Slick Carousel 8
Same name and namespace in other branches
- 7.3 src/Plugin/Field/FieldFormatter/SlickTextFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickTextFormatter::__construct()
Constructs a SlickImageFormatter instance.
Overrides FormatterBase::__construct
File
- src/
Plugin/ Field/ FieldFormatter/ SlickTextFormatter.php, line 36
Class
- SlickTextFormatter
- Plugin implementation of the 'Slick Text' formatter.
Namespace
Drupal\slick\Plugin\Field\FieldFormatterCode
public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings, SlickFormatterInterface $formatter, SlickManagerInterface $manager) {
parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $label, $view_mode, $third_party_settings);
$this->formatter = $formatter;
$this->manager = $manager;
}