You are here

public function ImagemagickToolkit::getDestination in ImageMagick 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::getDestination()

Gets the image destination URI/path on saving.

Return value

string The image destination URI/path.

Deprecated

in 8.x-2.3, will be removed in 8.x-3.0. Use ImagemagickExecArguments::getDestination() instead.

See also

https://www.drupal.org/project/imagemagick/issues/2938375

File

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

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function getDestination() {
  @trigger_error('getDestination() is deprecated in 8.x-2.3, will be removed in 8.x-3.0. Use ImagemagickExecArguments::getDestination() instead. See https://www.drupal.org/project/imagemagick/issues/2938375.', E_USER_DEPRECATED);
  return $this
    ->arguments()
    ->getDestination();
}