public function LibraryItemRevisionRevertForm::__construct in Paragraphs 8
LibraryItemRevisionRevertForm 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\Component\Datetime\TimeInterface $time: The time service.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger service.
File
- modules/
paragraphs_library/ src/ Form/ LibraryItemRevisionRevertForm.php, line 64
Class
Namespace
Drupal\paragraphs_library\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, DateFormatterInterface $date_formatter, TimeInterface $time, MessengerInterface $messenger) {
$this->entityTypeManager = $entity_type_manager;
$this->dateFormatter = $date_formatter;
$this->time = $time;
$this->messenger = $messenger;
}