function 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.