You are here

public function ParanoiaDefanger::__construct in Paranoia 8

Constructs a new ParanoiaDefanger.

Parameters

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

\Psr\Log\LoggerInterface $logger: A logger instance.

File

src/ParanoiaDefanger.php, line 35

Class

ParanoiaDefanger
Provides methods to reduce security risks.

Namespace

Drupal\paranoia

Code

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