public static function ImageStyleEditForm::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/Form/ImageStyleEditForm.php \Drupal\image\Form\ImageStyleEditForm::create()
- 9 core/modules/image/src/Form/ImageStyleEditForm.php \Drupal\image\Form\ImageStyleEditForm::create()
File
- core/
modules/ image/ src/ Form/ ImageStyleEditForm.php, line 43
Class
- ImageStyleEditForm
- Controller for image style edit form.
Namespace
Drupal\image\FormCode
public static function create(ContainerInterface $container) {
return new static($container
->get('entity_type.manager')
->getStorage('image_style'), $container
->get('plugin.manager.image.effect'));
}