You are here

public function ImagemagickToolkit::prependArgument in ImageMagick 8

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

Prepends a command line argument.

Parameters

string $arg: The command line argument to be prepended.

Return value

$this

File

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

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function prependArgument($arg) {
  array_unshift($this->arguments, $arg);
  return $this;
}