abstract protected function ImageToolkitOperationBase::execute in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php \Drupal\Core\ImageToolkit\ImageToolkitOperationBase::execute()
- 9 core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationBase.php \Drupal\Core\ImageToolkit\ImageToolkitOperationBase::execute()
Performs the actual manipulation on the image.
Image toolkit operation implementers must implement this method. This method is responsible for actually performing the operation on the image. When this method gets called, the implementer may assume all arguments, also the optional ones, to be available, validated and corrected.
Parameters
array $arguments: An associative array of arguments to be used by the toolkit operation.
Return value
bool TRUE if the operation was performed successfully, FALSE otherwise.
8 methods override ImageToolkitOperationBase::execute()
- Convert::execute in core/
modules/ system/ src/ Plugin/ ImageToolkit/ Operation/ gd/ Convert.php - Performs the actual manipulation on the image.
- CreateNew::execute in core/
modules/ system/ src/ Plugin/ ImageToolkit/ Operation/ gd/ CreateNew.php - Performs the actual manipulation on the image.
- Crop::execute in core/
modules/ system/ src/ Plugin/ ImageToolkit/ Operation/ gd/ Crop.php - Performs the actual manipulation on the image.
- Desaturate::execute in core/
modules/ system/ src/ Plugin/ ImageToolkit/ Operation/ gd/ Desaturate.php - Performs the actual manipulation on the image.
- OperationBase::execute in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ Operation/ test/ OperationBase.php - Performs the actual manipulation on the image.
File
- core/
lib/ Drupal/ Core/ ImageToolkit/ ImageToolkitOperationBase.php, line 189
Class
- ImageToolkitOperationBase
- Provides a base class for image toolkit operation plugins.
Namespace
Drupal\Core\ImageToolkitCode
protected abstract function execute(array $arguments);