You are here

public function SlickFormatterTrait::formatter in Slick Carousel 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/SlickFormatterTrait.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickFormatterTrait::formatter()

Returns the slick field formatter service.

File

src/Plugin/Field/FieldFormatter/SlickFormatterTrait.php, line 29

Class

SlickFormatterTrait
A Trait common for slick formatters.

Namespace

Drupal\slick\Plugin\Field\FieldFormatter

Code

public function formatter() {
  return $this->formatter;
}