You are here

public function DeleteMultiple::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Form/DeleteMultiple.php \Drupal\node\Form\DeleteMultiple::__construct()

Constructs a DeleteMultiple form object.

Parameters

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

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

File

core/modules/node/src/Form/DeleteMultiple.php, line 52
Contains \Drupal\node\Form\DeleteMultiple.

Class

DeleteMultiple
Provides a node deletion confirmation form.

Namespace

Drupal\node\Form

Code

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