You are here

public function PopulateForm::__construct in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_import/src/Form/PopulateForm.php \Drupal\bibcite_import\Form\PopulateForm::__construct()

Create new PopulateForm class.

Parameters

\Symfony\Component\Serializer\Serializer $serializer: Serializer service.

\Drupal\bibcite\Plugin\BibciteFormatManagerInterface $format_manager: Format manager service.

\Drupal\Core\TempStore\PrivateTempStore $temp_store: Module temp store.

File

modules/bibcite_import/src/Form/PopulateForm.php, line 50

Class

PopulateForm
Populate values to Reference form.

Namespace

Drupal\bibcite_import\Form

Code

public function __construct(Serializer $serializer, BibciteFormatManagerInterface $format_manager, PrivateTempStore $temp_store) {
  $this->serializer = $serializer;
  $this->formatManager = $format_manager;
  $this->tempStore = $temp_store;
}