function ImageFactory::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Image/ImageFactory.php \Drupal\Core\Image\ImageFactory::__construct()
  2. 10 core/lib/Drupal/Core/Image/ImageFactory.php \Drupal\Core\Image\ImageFactory::__construct()
  3. 9 core/lib/Drupal/Core/Image/ImageFactory.php \Drupal\Core\Image\ImageFactory::__construct()
  4. 8.9.x core/lib/Drupal/Core/Image/ImageFactory.php \Drupal\Core\Image\ImageFactory::__construct()

Constructs a new ImageFactory object.

Parameters

\Drupal\Core\ImageToolkit\ImageToolkitManager $toolkitManager: The image toolkit plugin manager.

File

core/lib/Drupal/Core/Image/ImageFactory.php, line 25

Class

ImageFactory
Provides a factory for image objects.

Namespace

Drupal\Core\Image

Code

public function __construct(protected ImageToolkitManager $toolkitManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.