function ImageToolkitBase::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.

Overrides ImageToolkitInterface::getSource

4 calls to ImageToolkitBase::getSource()
GDToolkit::load in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Loads an image from a file.
GDToolkit::parseFile in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Determines if a file contains a valid image.
ImageToolkitBase::apply in core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php
Applies a toolkit operation to an image.
TestToolkit::parseFile in core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php
Determines if a file contains a valid image.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php, line 94

Class

ImageToolkitBase
Provides a base class for image toolkit plugins.

Namespace

Drupal\Core\ImageToolkit

Code

public function getSource() {
  return $this->source;
}

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