function ImageToolkitInterface::getSource

Same name in other branches
  1. 9 core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSource()
  2. 8.9.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSource()
  3. 11.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSource()

Gets the source path of the image file.

Return value

string The source path of the image file, or an empty string if the source is not set.

1 method overrides ImageToolkitInterface::getSource()
ImageToolkitBase::getSource in core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php
Gets the source path of the image file.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php, line 70

Class

ImageToolkitInterface
Defines an interface for image toolkits.

Namespace

Drupal\Core\ImageToolkit

Code

public function getSource();

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