ImageFactory::setToolkitId

public ImageFactory::setToolkitId($toolkit_id)

Sets the ID of the image toolkit.

Parameters

string $toolkit_id: The ID of the image toolkit to use for this image factory.

Return value

$this

File

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

Class

ImageFactory
Provides a factory for image objects.

Namespace

Drupal\Core\Image

Code

public function setToolkitId($toolkit_id) {
  $this->toolkitId = $toolkit_id;
  return $this;
}
doc_Drupal
2016-10-29 09:19:20
Comments
Leave a Comment

Please login to continue.