public function ExportMultipleForm::__construct in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x modules/bibcite_export/src/Form/ExportMultipleForm.php \Drupal\bibcite_export\Form\ExportMultipleForm::__construct()
Construct new ExportMultipleForm object.
Parameters
\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.
\Drupal\bibcite\Plugin\BibciteFormatManagerInterface $format_manager: The bibcite format manager.
\Drupal\Core\Session\AccountInterface $current_user: The current user object.
File
- modules/
bibcite_export/ src/ Form/ ExportMultipleForm.php, line 56
Class
- ExportMultipleForm
- Export multiple reference entities.
Namespace
Drupal\bibcite_export\FormCode
public function __construct(PrivateTempStoreFactory $temp_store_factory, BibciteFormatManagerInterface $format_manager, AccountInterface $current_user) {
$this->tempStore = $temp_store_factory
->get('bibcite_export_multiple');
$this->formatManager = $format_manager;
$this->currentUser = $current_user;
}