You are here

public function MergeMultipleForm::__construct in Bibliography & Citation 8

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

Constructs a DeleteMultiple form object.

Parameters

\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.

\Drupal\Core\Entity\EntityTypeManagerInterface $manager: The entity manager.

\Drupal\Core\Session\AccountInterface $current_user: The current user object.

File

modules/bibcite_entity/src/Form/MergeMultipleForm.php, line 70

Class

MergeMultipleForm
Merge multiple bibliographic entities into one.

Namespace

Drupal\bibcite_entity\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, EntityTypeManagerInterface $manager, AccountInterface $current_user) {
  $this->tempStore = $temp_store_factory
    ->get('bibcite_entity_merge_multiple');
  $this->entityTypeManager = $manager;
  $this->currentUser = $current_user;
}