Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ImageToolkitOperationManagerInterface.php

interface ImageToolkitOperationManagerInterface

Defines an interface for image toolkit operation managers.

Hierarchy

  • interface \Drupal\Core\ImageToolkit\ImageToolkitOperationManagerInterface

Expanded class hierarchy of ImageToolkitOperationManagerInterface

All classes that implement ImageToolkitOperationManagerInterface

1 file declares its use of ImageToolkitOperationManagerInterface
GDToolkit.php in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManagerInterface.php, line 8

Namespace

Drupal\Core\ImageToolkit
View source
interface ImageToolkitOperationManagerInterface {
    
    /**
     * Returns a toolkit operation plugin instance.
     *
     * @param \Drupal\Core\ImageToolkit\ImageToolkitInterface $toolkit
     *   The toolkit instance.
     * @param string $operation
     *   The operation (e.g. "crop").
     *
     * @return \Drupal\Core\ImageToolkit\ImageToolkitOperationInterface
     *   An instance of the requested toolkit operation plugin.
     *
     * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException
     *   When no plugin is available.
     */
    public function getToolkitOperation(ImageToolkitInterface $toolkit, $operation);

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ImageToolkitOperationManagerInterface::getToolkitOperation public function Returns a toolkit operation plugin instance. 1

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal