You are here

public function ImageEffectAddForm::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/image/src/Form/ImageEffectAddForm.php \Drupal\image\Form\ImageEffectAddForm::__construct()

Constructs a new ImageEffectAddForm.

Parameters

\Drupal\image\ImageEffectManager $effect_manager: The image effect manager.

File

core/modules/image/src/Form/ImageEffectAddForm.php, line 30

Class

ImageEffectAddForm
Provides an add form for image effects.

Namespace

Drupal\image\Form

Code

public function __construct(ImageEffectManager $effect_manager) {
  $this->effectManager = $effect_manager;
}