public function AuthmapDeleteForm::__construct in External Authentication 2.0.x
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/ AuthmapDeleteForm.php, line 56
Class
- AuthmapDeleteForm
- Confirm the user wants to delete an authmap entry.
Namespace
Drupal\externalauth\FormCode
public function __construct(Connection $connection, EntityTypeManagerInterface $entity_type_manager) {
$this->connection = $connection;
$this->entityTypeManager = $entity_type_manager;
}