public function ImageStyleEditForm::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Form/ImageStyleEditForm.php \Drupal\image\Form\ImageStyleEditForm::__construct()
- 9 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.
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;
}