public function TourTipDeleteForm::__construct in Tour UI 8
Constructs a new TourTipDeleteForm object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity manager.
\Drupal\Core\Messenger\MessengerInterface $messenger: The Messenger Service.
File
- src/
Form/ TourTipDeleteForm.php, line 53
Class
- TourTipDeleteForm
- Builds the form to delete a tour tip.
Namespace
Drupal\tour_ui\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, MessengerInterface $messenger) {
$this->entityTypeManager = $entity_type_manager;
$this->messenger = $messenger;
}