You are here

public function ImageToolkitInterface::getSource in Drupal 9

Same name and namespace in other branches
  1. 8 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();