Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/ImageToolkit/ImageToolkitInterface.php \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSource()
  2. 9 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();