You are here

public function ImportForm::__construct in Bibliography & Citation 8

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

Import form constructor.

Parameters

\Symfony\Component\Serializer\SerializerInterface $serializer: Import plugins manager.

\Drupal\bibcite\Plugin\BibciteFormatManagerInterface $format_manager: Bibcite format manager service.

File

modules/bibcite_import/src/Form/ImportForm.php, line 38

Class

ImportForm
Common import form.

Namespace

Drupal\bibcite_import\Form

Code

public function __construct(SerializerInterface $serializer, BibciteFormatManagerInterface $format_manager) {
  $this->serializer = $serializer;
  $this->formatManager = $format_manager;
}