You are here

public function BlazyFormatterTrait::formatter in Blazy 7

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

Returns the blazy-related formatter.

File

src/Plugin/Field/FieldFormatter/BlazyFormatterTrait.php, line 27

Class

BlazyFormatterTrait
A Trait common for blazy formatters.

Namespace

Drupal\blazy\Plugin\Field\FieldFormatter

Code

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