public function TourTipDeleteForm::getQuestion in Tour UI 8
Returns the question to ask the user.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.
Overrides ConfirmFormInterface::getQuestion
File
- src/
Form/ TourTipDeleteForm.php, line 85
Class
- TourTipDeleteForm
- Builds the form to delete a tour tip.
Namespace
Drupal\tour_ui\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete the %tour tour %tip tip?', [
'%tour' => $this->entity
->label(),
'%tip' => $this->tip
->get('label'),
]);
}