You are here

public function ImageAPIOptimizePipeline::getProcessorsCollection in Image Optimize (or ImageAPI Optimize) 8.3

Same name and namespace in other branches
  1. 8.2 src/Entity/ImageAPIOptimizePipeline.php \Drupal\imageapi_optimize\Entity\ImageAPIOptimizePipeline::getProcessorsCollection()
  2. 4.x src/Entity/ImageAPIOptimizePipeline.php \Drupal\imageapi_optimize\Entity\ImageAPIOptimizePipeline::getProcessorsCollection()

Returns an image optimize processors collection.

Return value

\Drupal\imageapi_optimize\ImageAPIOptimizeProcessorPluginCollection|\Drupal\imageapi_optimize\ImageAPIOptimizeProcessorInterface[] The image optimize processor plugin collection.

Overrides ImageAPIOptimizePipelineInterface::getProcessorsCollection

1 call to ImageAPIOptimizePipeline::getProcessorsCollection()
ImageAPIOptimizePipeline::getProcessors in src/Entity/ImageAPIOptimizePipeline.php
Returns the image optimize processors for this pipeline.

File

src/Entity/ImageAPIOptimizePipeline.php, line 241

Class

ImageAPIOptimizePipeline
Defines an image optimize pipeline configuration entity.

Namespace

Drupal\imageapi_optimize\Entity

Code

public function getProcessorsCollection() {
  return new ImageAPIOptimizeProcessorPluginCollection($this
    ->getImageAPIOptimizeProcessorPluginManager(), $this->processors);
}