function ImageStyleEditForm::create

Same name in other branches
  1. 9 core/modules/image/src/Form/ImageStyleEditForm.php \Drupal\image\Form\ImageStyleEditForm::create()
  2. 8.9.x core/modules/image/src/Form/ImageStyleEditForm.php \Drupal\image\Form\ImageStyleEditForm::create()
  3. 10 core/modules/image/src/Form/ImageStyleEditForm.php \Drupal\image\Form\ImageStyleEditForm::create()

Overrides ImageStyleFormBase::create

File

core/modules/image/src/Form/ImageStyleEditForm.php, line 43

Class

ImageStyleEditForm
Controller for image style edit form.

Namespace

Drupal\image\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('entity_type.manager')
        ->getStorage('image_style'), $container->get('plugin.manager.image.effect'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.