You are here

public function SlickFileFormatter::blazyEntity in Slick Carousel 7.3

Returns the blazy entity object.

File

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

Class

SlickFileFormatter
Plugin implementation of the 'Slick File' formatter for Media integration.

Namespace

Drupal\slick\Plugin\Field\FieldFormatter

Code

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