You are here

public function BrokenLinkDeleteMultipleForm::__construct in Broken Link 8.3

Constructs a DeleteMultiple form object.

Parameters

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

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

File

src/Form/BrokenLinkDeleteMultipleForm.php, line 47

Class

BrokenLinkDeleteMultipleForm
Provides a brokenLink deletion confirmation form.

Namespace

Drupal\broken_link\Form

Code

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