You are here

public function BlazyManagerTrait::formatter in Blazy 7

Returns the blazy manager.

1 call to BlazyManagerTrait::formatter()
BlazyViewsFieldPluginBase::blazyEntity in src/Plugin/views/field/BlazyViewsFieldPluginBase.php
Returns the blazy entity instance.

File

src/BlazyManagerTrait.php, line 37

Class

BlazyManagerTrait
A Trait common for blazy-related plugins.

Namespace

Drupal\blazy

Code

public function formatter() {
  if (!isset($this->formatter)) {
    $this->formatter = new BlazyFormatter();
  }
  return $this->formatter;
}