public function ImageFactory::setToolkitId in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Image/ImageFactory.php \Drupal\Core\Image\ImageFactory::setToolkitId()
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 50 - Contains \Drupal\Core\Image\ImageFactory.
Class
- ImageFactory
- Provides a factory for image objects.
Namespace
Drupal\Core\ImageCode
public function setToolkitId($toolkit_id) {
$this->toolkitId = $toolkit_id;
return $this;
}