You are here

public function MasqueradeCallbacks::__construct in Masquerade 8.2

MasqueradeCallbacks constructor.

Parameters

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

\Drupal\masquerade\Masquerade $masquerade: The masuerade.

File

src/MasqueradeCallbacks.php, line 36

Class

MasqueradeCallbacks
Masquerade callbacks.

Namespace

Drupal\masquerade

Code

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