You are here

public function DeleteMultiple::__construct in Profile 2 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 53
Contains \Drupal\node\Form\DeleteMultiple.

Class

DeleteMultiple
Provides a node deletion confirmation form.

Namespace

Drupal\profile\Form

Code

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