public function ImageStyleEditForm::__construct in Drupal 9
Same name and namespace in other branches
- 8 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 35
Class
- ImageStyleEditForm
- Controller for image style edit form.
Namespace
Drupal\image\FormCode
public function __construct(EntityStorageInterface $image_style_storage, ImageEffectManager $image_effect_manager) {
parent::__construct($image_style_storage);
$this->imageEffectManager = $image_effect_manager;
}