You are here

public function ImagemagickToolkit::getSource in ImageMagick 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::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 ImageToolkitBase::getSource

2 calls to ImagemagickToolkit::getSource()
ImagemagickToolkit::ensureSourceLocalPath in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Ensures that the local filesystem path to the image file exists.
ImagemagickToolkit::parseFile in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Determines if a file contains a valid image.

File

src/Plugin/ImageToolkit/ImagemagickToolkit.php, line 547

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

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