function QuickEditController::create

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

Overrides ControllerBase::create

File

core/modules/quickedit/src/QuickEditController.php, line 107

Class

QuickEditController
Returns responses for Quick Edit module routes.

Namespace

Drupal\quickedit

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('tempstore.private'), $container->get('quickedit.metadata.generator'), $container->get('quickedit.editor.selector'), $container->get('renderer'), $container->get('entity_display.repository'), $container->get('entity.repository'));
}

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