You are here

public function ImagemagickToolkit::getArguments in ImageMagick 8.2

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

Gets the command line arguments for the binary.

Return value

string[] The array of command line arguments.

Deprecated

in 8.x-2.3, will be removed in 8.x-3.0. Use ::arguments() instead, using ImagemagickExecArguments methods to manipulate arguments.

See also

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

File

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

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

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