QuickEditController::__construct

public QuickEditController::__construct(PrivateTempStoreFactory $temp_store_factory, MetadataGeneratorInterface $metadata_generator, EditorSelectorInterface $editor_selector, RendererInterface $renderer)

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 65

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;
}
doc_Drupal
2016-10-29 09:36:10
Comments
Leave a Comment

Please login to continue.