function QuickEditImageController::create

Same name in other branches
  1. 9 core/modules/quickedit/src/Controller/QuickEditImageController.php \Drupal\quickedit\Controller\QuickEditImageController::create()
  2. 9 core/modules/image/src/Controller/QuickEditImageController.php \Drupal\image\Controller\QuickEditImageController::create()

Overrides ControllerBase::create

File

core/modules/image/src/Controller/QuickEditImageController.php, line 93

Class

QuickEditImageController
Returns responses for our image routes.

Namespace

Drupal\image\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('renderer'), $container->get('image.factory'), $container->get('tempstore.private'), $container->get('entity_display.repository'), $container->get('file_system'));
}

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