You are here

public function QuickEditController::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/quickedit/src/QuickEditController.php \Drupal\quickedit\QuickEditController::__construct()

Constructs a new QuickEditController.

Parameters

\Drupal\user\PrivateTempStoreFactory $temp_store_factory: The PrivateTempStore factory.

\Drupal\quickedit\MetadataGeneratorInterface $metadata_generator: The in-place editing metadata generator.

\Drupal\quickedit\EditorSelectorInterface $editor_selector: The in-place editor selector.

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

File

core/modules/quickedit/src/QuickEditController.php, line 70
Contains \Drupal\quickedit\QuickEditController.

Class

QuickEditController
Returns responses for Quick Edit module routes.

Namespace

Drupal\quickedit

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, MetadataGeneratorInterface $metadata_generator, EditorSelectorInterface $editor_selector, RendererInterface $renderer) {
  $this->tempStoreFactory = $temp_store_factory;
  $this->metadataGenerator = $metadata_generator;
  $this->editorSelector = $editor_selector;
  $this->renderer = $renderer;
}