You are here

public function BlazyVideoTrait::imageFactory in Blazy 8

Same name and namespace in other branches
  1. 8.2 src/Dejavu/BlazyVideoTrait.php \Drupal\blazy\Dejavu\BlazyVideoTrait::imageFactory()

Returns the image factory.

File

src/Dejavu/BlazyVideoTrait.php, line 30

Class

BlazyVideoTrait
A Trait common for optional Media Entity and Video Embed Media integration.

Namespace

Drupal\blazy\Dejavu

Code

public function imageFactory() {
  return \Drupal::service('image.factory');
}