function ImageEffectAddForm::__construct

Same name in other branches
  1. 9 core/modules/image/src/Form/ImageEffectAddForm.php \Drupal\image\Form\ImageEffectAddForm::__construct()
  2. 8.9.x core/modules/image/src/Form/ImageEffectAddForm.php \Drupal\image\Form\ImageEffectAddForm::__construct()
  3. 10 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.