You are here

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

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

Constructs a new ImageAPIOptimizeProcessorAddForm.

Parameters

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

File

src/Form/ImageAPIOptimizeProcessorAddForm.php, line 28

Class

ImageAPIOptimizeProcessorAddForm
Provides an add form for image optimize processors.

Namespace

Drupal\imageapi_optimize\Form

Code

public function __construct(ImageAPIOptimizeProcessorManager $processor_manager) {
  $this->processorManager = $processor_manager;
}