You are here

public function ImageAPIOptimizePipelineEditForm::__construct in Image Optimize (or ImageAPI Optimize) 8.2

Same name and namespace in other branches
  1. 8.3 src/Form/ImageAPIOptimizePipelineEditForm.php \Drupal\imageapi_optimize\Form\ImageAPIOptimizePipelineEditForm::__construct()
  2. 4.x src/Form/ImageAPIOptimizePipelineEditForm.php \Drupal\imageapi_optimize\Form\ImageAPIOptimizePipelineEditForm::__construct()

Constructs an ImageAPIOptimizePipelineEditForm object.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $imageapi_optimize_pipeline_storage: The storage.

\Drupal\imageapi_optimize\ImageAPIOptimizeProcessorManager $imageapi_optimize_processor_manager: The image optimize processor manager service.

Overrides ImageAPIOptimizePipelineFormBase::__construct

File

src/Form/ImageAPIOptimizePipelineEditForm.php, line 32

Class

ImageAPIOptimizePipelineEditForm
Controller for image optimize pipeline edit form.

Namespace

Drupal\imageapi_optimize\Form

Code

public function __construct(EntityStorageInterface $imageapi_optimize_pipeline_storage, ImageAPIOptimizeProcessorManager $imageapi_optimize_processor_manager) {
  parent::__construct($imageapi_optimize_pipeline_storage);
  $this->imageAPIOptimizeProcessorManager = $imageapi_optimize_processor_manager;
}