You are here

public function DeleteMultiple::__construct in Log entity 8

Constructs a DeleteMultiple form object.

Parameters

\Drupal\user\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.

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

File

src/Form/DeleteMultiple.php, line 56
Contains \Drupal\log\Form\DeleteMultiple.

Class

DeleteMultiple
Provides a log deletion confirmation form.

Namespace

Drupal\log\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, EntityManagerInterface $manager) {
  $this->tempStoreFactory = $temp_store_factory;
  $this->storage = $manager
    ->getStorage('log');
}