W3cubDocs

/Drupal 8

protected function ImageToolkitBase::getToolkitOperation

protected ImageToolkitBase::getToolkitOperation($operation)

Gets a toolkit operation plugin instance.

Parameters

string $operation: The toolkit operation requested.

Return value

\Drupal\Core\ImageToolkit\ImageToolkitOperationInterface An instance of the requested toolkit operation plugin.

File

core/lib/Drupal/Core/ImageToolkit/ImageToolkitBase.php, line 115

Class

ImageToolkitBase
Provides a base class for image toolkit plugins.

Namespace

Drupal\Core\ImageToolkit

Code

protected function getToolkitOperation($operation) {
  return $this->operationManager->getToolkitOperation($this, $operation);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!ImageToolkit!ImageToolkitBase.php/function/ImageToolkitBase::getToolkitOperation/8.1.x