public function ImageAPIOptimizePipeline::getProcessorsCollection in Image Optimize (or ImageAPI Optimize) 4.x
Same name and namespace in other branches
- 8.3 src/Entity/ImageAPIOptimizePipeline.php \Drupal\imageapi_optimize\Entity\ImageAPIOptimizePipeline::getProcessorsCollection()
- 8.2 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\EntityCode
public function getProcessorsCollection() {
return new ImageAPIOptimizeProcessorPluginCollection($this
->getImageAPIOptimizeProcessorPluginManager(), $this->processors);
}