You are here

public function ImageStyleEditForm::__construct in Zircon Profile 8

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

Constructs an ImageStyleEditForm object.

Parameters

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

\Drupal\image\ImageEffectManager $image_effect_manager: The image effect manager service.

Overrides ImageStyleFormBase::__construct

File

core/modules/image/src/Form/ImageStyleEditForm.php, line 37
Contains \Drupal\image\Form\ImageStyleEditForm.

Class

ImageStyleEditForm
Controller for image style edit form.

Namespace

Drupal\image\Form

Code

public function __construct(EntityStorageInterface $image_style_storage, ImageEffectManager $image_effect_manager) {
  parent::__construct($image_style_storage);
  $this->imageEffectManager = $image_effect_manager;
}