function ImageStyleFormBase::__construct
Same name in other branches
- 9 core/modules/image/src/Form/ImageStyleFormBase.php \Drupal\image\Form\ImageStyleFormBase::__construct()
- 10 core/modules/image/src/Form/ImageStyleFormBase.php \Drupal\image\Form\ImageStyleFormBase::__construct()
- 11.x 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.
1 call to ImageStyleFormBase::__construct()
- ImageStyleEditForm::__construct in core/
modules/ image/ src/ Form/ ImageStyleEditForm.php - Constructs an ImageStyleEditForm object.
1 method overrides ImageStyleFormBase::__construct()
- ImageStyleEditForm::__construct in core/
modules/ image/ src/ Form/ ImageStyleEditForm.php - Constructs an ImageStyleEditForm object.
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.