You are here

public function SamlauthAuthmapDeleteForm::__construct in SAML Authentication 8.3

Same name and namespace in other branches
  1. 4.x src/Form/SamlauthAuthmapDeleteForm.php \Drupal\samlauth\Form\SamlauthAuthmapDeleteForm::__construct()

Constructs a router for Drupal with access check and upcasting.

Parameters

\Drupal\Core\Database\Connection $connection: The database connection to get authmap entries.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The EntityTypeManager service.

File

src/Form/SamlauthAuthmapDeleteForm.php, line 58

Class

SamlauthAuthmapDeleteForm
Confirm the user wants to delete an authmap entry.

Namespace

Drupal\samlauth\Form

Code

public function __construct(Connection $connection, EntityTypeManagerInterface $entity_type_manager) {
  $this->connection = $connection;
  $this->entityTypeManager = $entity_type_manager;
}