public function EventSeriesDeleteForm::getConfirmText in Booking and Availability Management Tools for Drupal 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- modules/
bat_event_series/ src/ Entity/ Form/ EventSeriesDeleteForm.php, line 74 - Contains \Drupal\bat_event_series\Entity\Form\EventSeriesDeleteForm.
Class
- EventSeriesDeleteForm
- Provides a form for deleting Event series entities.
Namespace
Drupal\bat_event_series\Entity\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}