You are here

public function ImagemagickToolkit::addArgument in ImageMagick 8

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

Adds a command line argument.

Parameters

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

Return value

$this

2 calls to ImagemagickToolkit::addArgument()
ImagemagickToolkit::buildConfigurationForm in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Form constructor.
ImagemagickToolkit::parseFileViaIdentify in src/Plugin/ImageToolkit/ImagemagickToolkit.php
Parses the image file using the 'identify' executable.

File

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

Class

ImagemagickToolkit
Provides ImageMagick integration toolkit for image manipulation.

Namespace

Drupal\imagemagick\Plugin\ImageToolkit

Code

public function addArgument($arg) {
  $this->arguments[] = $arg;
  return $this;
}