public function CandidateNodesForm::__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.
File
- src/
Form/ CandidateNodesForm.php, line 54
Class
- CandidateNodesForm
- Class CandidateNodesForm.
Namespace
Drupal\node_revision_delete\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, NodeRevisionDeleteInterface $node_revision_delete, DateFormatterInterface $date_formatter) {
$this->entityTypeManager = $entity_type_manager;
$this->nodeRevisionDelete = $node_revision_delete;
$this->dateFormatter = $date_formatter;
}