public function Image::getToolkitId

public Image::getToolkitId()

Returns the ID of the image toolkit used for this image file.

Return value

string The ID of the image toolkit.

Overrides ImageInterface::getToolkitId

File

core/lib/Drupal/Core/Image/Image.php, line 104

Class

Image
Defines an image object to represent an image file.

Namespace

Drupal\Core\Image

Code

public function getToolkitId() {
  return $this->getToolkit()->getPluginId();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Image!Image.php/function/Image::getToolkitId/8.1.x