You are here

public function ReferencePreviewConverter::__construct in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/ParamConverter/ReferencePreviewConverter.php \Drupal\bibcite_entity\ParamConverter\ReferencePreviewConverter::__construct()

Constructs a new ReferencePreviewConverter.

Parameters

\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The factory for the temp store object.

File

modules/bibcite_entity/src/ParamConverter/ReferencePreviewConverter.php, line 27

Class

ReferencePreviewConverter
Provides upcasting for a reference entity in preview.

Namespace

Drupal\bibcite_entity\ParamConverter

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory) {
  $this->tempStoreFactory = $temp_store_factory;
}