You are here

public function DeleteMultiple::__construct in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Form/DeleteMultiple.php \Drupal\bibcite_entity\Form\DeleteMultiple::__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/DeleteMultiple.php, line 64

Class

DeleteMultiple
Delete multiple entities form.

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_multiple_delete');
  $this->entityTypeManager = $manager;
  $this->currentUser = $current_user;
}