You are here

public function BlazyEntity::__construct in Blazy 7

Same name and namespace in other branches
  1. 8.2 src/BlazyEntity.php \Drupal\blazy\BlazyEntity::__construct()

Constructs a BlazyFormatter instance.

File

src/BlazyEntity.php, line 22

Class

BlazyEntity
Implements BlazyFormatterInterface.

Namespace

Drupal\blazy

Code

public function __construct(BlazyManagerInterface $formatter) {
  $this->formatter = $formatter;
}