You are here

protected function GDImageToolkitOperationBase::getToolkit in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/src/Plugin/ImageToolkit/Operation/gd/GDImageToolkitOperationBase.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\GDImageToolkitOperationBase::getToolkit()
  2. 9 core/modules/system/src/Plugin/ImageToolkit/Operation/gd/GDImageToolkitOperationBase.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\GDImageToolkitOperationBase::getToolkit()

The correctly typed image toolkit for GD operations.

Return value

\Drupal\system\Plugin\ImageToolkit\GDToolkit

Overrides ImageToolkitOperationBase::getToolkit

14 calls to GDImageToolkitOperationBase::getToolkit()
Convert::execute in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Convert.php
Performs the actual manipulation on the image.
Convert::validateArguments in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Convert.php
Validates the arguments.
CreateNew::execute in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/CreateNew.php
Performs the actual manipulation on the image.
CreateNew::validateArguments in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/CreateNew.php
Validates the arguments.
Crop::execute in core/modules/system/src/Plugin/ImageToolkit/Operation/gd/Crop.php
Performs the actual manipulation on the image.

... See full list

File

core/modules/system/src/Plugin/ImageToolkit/Operation/gd/GDImageToolkitOperationBase.php, line 14

Class

GDImageToolkitOperationBase

Namespace

Drupal\system\Plugin\ImageToolkit\Operation\gd

Code

protected function getToolkit() {
  return parent::getToolkit();
}