function ImageStyleFormBase::create
Same name in other branches
- 9 core/modules/image/src/Form/ImageStyleFormBase.php \Drupal\image\Form\ImageStyleFormBase::create()
- 10 core/modules/image/src/Form/ImageStyleFormBase.php \Drupal\image\Form\ImageStyleFormBase::create()
- 11.x core/modules/image/src/Form/ImageStyleFormBase.php \Drupal\image\Form\ImageStyleFormBase::create()
Overrides FormBase::create
1 method overrides ImageStyleFormBase::create()
- ImageStyleEditForm::create in core/
modules/ image/ src/ Form/ ImageStyleEditForm.php - Instantiates a new instance of this class.
File
-
core/
modules/ image/ src/ Form/ ImageStyleFormBase.php, line 42
Class
- ImageStyleFormBase
- Base form for image style add and edit forms.
Namespace
Drupal\image\FormCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity_type.manager')
->getStorage('image_style'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.