class GDImageToolkitOperationBase

Same name in other branches
  1. 8.9.x core/modules/system/src/Plugin/ImageToolkit/Operation/gd/GDImageToolkitOperationBase.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\GDImageToolkitOperationBase
  2. 10 core/modules/system/src/Plugin/ImageToolkit/Operation/gd/GDImageToolkitOperationBase.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\GDImageToolkitOperationBase
  3. 11.x core/modules/system/src/Plugin/ImageToolkit/Operation/gd/GDImageToolkitOperationBase.php \Drupal\system\Plugin\ImageToolkit\Operation\gd\GDImageToolkitOperationBase

Hierarchy

Expanded class hierarchy of GDImageToolkitOperationBase

File

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

Namespace

Drupal\system\Plugin\ImageToolkit\Operation\gd
View source
abstract class GDImageToolkitOperationBase extends ImageToolkitOperationBase {
    
    /**
     * The correctly typed image toolkit for GD operations.
     *
     * @return \Drupal\system\Plugin\ImageToolkit\GDToolkit
     */
    protected function getToolkit() {
        return parent::getToolkit();
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
GDImageToolkitOperationBase::getToolkit protected function The correctly typed image toolkit for GD operations. Overrides ImageToolkitOperationBase::getToolkit
ImageToolkitOperationBase::$logger protected property A logger instance.
ImageToolkitOperationBase::$toolkit protected property The image toolkit.
ImageToolkitOperationBase::apply final public function Applies a toolkit specific operation to an image. Overrides ImageToolkitOperationInterface::apply
ImageToolkitOperationBase::arguments abstract protected function Returns the definition of the operation arguments. 8
ImageToolkitOperationBase::execute abstract protected function Performs the actual manipulation on the image. 8
ImageToolkitOperationBase::prepareArguments protected function Checks for required arguments and adds optional argument defaults.
ImageToolkitOperationBase::validateArguments protected function Validates the arguments. 6
ImageToolkitOperationBase::__construct public function Constructs an image toolkit operation plugin.
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 6
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.