You are here

public function CandidateRevisionsContentTypeForm::__construct in Node Revision Delete 8

Constructor.

Parameters

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

\Drupal\node_revision_delete\NodeRevisionDeleteInterface $node_revision_delete: The node revision delete.

\Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service.

\Drupal\Core\Render\RendererInterface $renderer: The renderer service.

File

src/Form/CandidateRevisionsContentTypeForm.php, line 65

Class

CandidateRevisionsContentTypeForm
Class CandidateRevisionsContentTypeForm.

Namespace

Drupal\node_revision_delete\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, NodeRevisionDeleteInterface $node_revision_delete, DateFormatterInterface $date_formatter, RendererInterface $renderer) {
  $this->entityTypeManager = $entity_type_manager;
  $this->nodeRevisionDelete = $node_revision_delete;
  $this->dateFormatter = $date_formatter;
  $this->renderer = $renderer;
}