You are here

public function BlazyEntity::__construct in Blazy 8.2

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

Constructs a BlazyFormatter instance.

File

src/BlazyEntity.php, line 33

Class

BlazyEntity
Provides common entity utilities to work with field details.

Namespace

Drupal\blazy

Code

public function __construct(BlazyOEmbedInterface $oembed) {
  $this->oembed = $oembed;
  $this->blazyManager = $oembed
    ->blazyManager();
}