public function ImagemagickToolkit::setSourceLocalPath in ImageMagick 8.2
Same name and namespace in other branches
- 8 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::setSourceLocalPath()
Sets the local filesystem path to the image file.
Parameters
string $path: A filesystem path.
Return value
$this
Deprecated
in 8.x-2.3, will be removed in 8.x-3.0. Use ImagemagickExecArguments::setSourceLocalPath() instead.
See also
https://www.drupal.org/project/imagemagick/issues/2938375
File
- src/
Plugin/ ImageToolkit/ ImagemagickToolkit.php, line 681
Class
- ImagemagickToolkit
- Provides ImageMagick integration toolkit for image manipulation.
Namespace
Drupal\imagemagick\Plugin\ImageToolkitCode
public function setSourceLocalPath($path) {
@trigger_error('setSourceLocalPath() is deprecated in 8.x-2.3, will be removed in 8.x-3.0. Use ImagemagickExecArguments::setSourceLocalPath() instead. See https://www.drupal.org/project/imagemagick/issues/2938375.', E_USER_DEPRECATED);
$this
->arguments()
->setSourceLocalPath($path);
return $this;
}