You are here

public function ImageAPIOptimizePipelineInterface::getProcessor in Image Optimize (or ImageAPI Optimize) 4.x

Same name and namespace in other branches
  1. 8.3 src/ImageAPIOptimizePipelineInterface.php \Drupal\imageapi_optimize\ImageAPIOptimizePipelineInterface::getProcessor()
  2. 8.2 src/ImageAPIOptimizePipelineInterface.php \Drupal\imageapi_optimize\ImageAPIOptimizePipelineInterface::getProcessor()

Returns a specific image optimize processor.

Parameters

string $processor: The image optimize processor ID.

Return value

\Drupal\imageapi_optimize\ImageAPIOptimizeProcessorInterface The image optimize processor object.

1 method overrides ImageAPIOptimizePipelineInterface::getProcessor()
ImageAPIOptimizePipeline::getProcessor in src/Entity/ImageAPIOptimizePipeline.php
Returns a specific image optimize processor.

File

src/ImageAPIOptimizePipelineInterface.php, line 54

Class

ImageAPIOptimizePipelineInterface
Provides an interface defining an image optimize pipeline entity.

Namespace

Drupal\imageapi_optimize

Code

public function getProcessor($processor);