function ImageFactory::getToolkitId
Gets the ID of the image toolkit currently in use.
Return value
string The ID of the image toolkit in use by the image factory.
2 calls to ImageFactory::getToolkitId()
- ImageFactory::get in core/
lib/ Drupal/ Core/ Image/ ImageFactory.php - Constructs a new Image object.
- ImageFactory::getSupportedExtensions in core/
lib/ Drupal/ Core/ Image/ ImageFactory.php - Returns the image file extensions supported by the toolkit.
File
-
core/
lib/ Drupal/ Core/ Image/ ImageFactory.php, line 55
Class
- ImageFactory
- Provides a factory for image objects.
Namespace
Drupal\Core\ImageCode
public function getToolkitId() {
if ($this->toolkitId === NULL) {
$this->toolkitId = $this->toolkitManager
->getDefaultToolkitId();
}
return $this->toolkitId;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.