You are here

public function NodeRevisionGenerateForm::__construct in Node Revision Delete 8

Constructor.

Parameters

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

\Drupal\node_revision_generate\NodeRevisionGenerateInterface $node_revision_generate: The node revision generate.

File

modules/node_revision_generate/src/Form/NodeRevisionGenerateForm.php, line 39

Class

NodeRevisionGenerateForm
Class NodeRevisionGenerate.

Namespace

Drupal\node_revision_generate\Form

Code

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