You are here

public function ImageAPIOptimizePipelineInterface::addProcessor 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::addProcessor()
  2. 8.2 src/ImageAPIOptimizePipelineInterface.php \Drupal\imageapi_optimize\ImageAPIOptimizePipelineInterface::addProcessor()

Saves an image optimize processor for this pipeline.

Parameters

array $configuration: An array of image optimize processor configuration.

Return value

string The image optimize processor ID.

1 method overrides ImageAPIOptimizePipelineInterface::addProcessor()
ImageAPIOptimizePipeline::addProcessor in src/Entity/ImageAPIOptimizePipeline.php
Saves an image optimize processor for this pipeline.

File

src/ImageAPIOptimizePipelineInterface.php, line 83

Class

ImageAPIOptimizePipelineInterface
Provides an interface defining an image optimize pipeline entity.

Namespace

Drupal\imageapi_optimize

Code

public function addProcessor(array $configuration);