public function ImageStyleFormBase::__construct in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Form/ImageStyleFormBase.php \Drupal\image\Form\ImageStyleFormBase::__construct()
- 9 core/modules/image/src/Form/ImageStyleFormBase.php \Drupal\image\Form\ImageStyleFormBase::__construct()
Constructs a base class for image style add and edit forms.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $image_style_storage: The image style entity storage.
File
- core/
modules/ image/ src/ Form/ ImageStyleFormBase.php, line 35
Class
- ImageStyleFormBase
- Base form for image style add and edit forms.
Namespace
Drupal\image\FormCode
public function __construct(EntityStorageInterface $image_style_storage) {
$this->imageStyleStorage = $image_style_storage;
}