You are here

public function LibraryItemRevisionDeleteForm::__construct in Paragraphs 8

LibraryItemRevisionDeleteForm constructor.

Parameters

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

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

\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.

File

modules/paragraphs_library/src/Form/LibraryItemRevisionDeleteForm.php, line 53

Class

LibraryItemRevisionDeleteForm

Namespace

Drupal\paragraphs_library\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, DateFormatterInterface $date_formatter, MessengerInterface $messenger) {
  $this->entityTypeManager = $entity_type_manager;
  $this->dateFormatter = $date_formatter;
  $this->messenger = $messenger;
}