public function ImagemagickToolkit::removeArgument in ImageMagick 8
Same name and namespace in other branches
- 8.2 src/Plugin/ImageToolkit/ImagemagickToolkit.php \Drupal\imagemagick\Plugin\ImageToolkit\ImagemagickToolkit::removeArgument()
Removes a command line argument.
Parameters
int $index: The index of the command line argument to be removed.
Return value
$this
File
- src/
Plugin/ ImageToolkit/ ImagemagickToolkit.php, line 859
Class
- ImagemagickToolkit
- Provides ImageMagick integration toolkit for image manipulation.
Namespace
Drupal\imagemagick\Plugin\ImageToolkitCode
public function removeArgument($index) {
if (isset($this->arguments[$index])) {
unset($this->arguments[$index]);
}
return $this;
}