You are here

public function VoteDeleteConfirm::__construct in Voting API 8.3

Constructs a new VoteDeleteConfirm object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity query object.

File

src/Form/VoteDeleteConfirm.php, line 28

Class

VoteDeleteConfirm
Provides a form for vote deletion.

Namespace

Drupal\votingapi\Form

Code

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