public function UnitDeleteForm::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_unit/ src/ Entity/ Form/ UnitDeleteForm.php, line 38 - Contains \Drupal\bat_unit\Entity\Form\UnitDeleteForm.
Class
- UnitDeleteForm
- Provides a form for deleting Unit entities.
Namespace
Drupal\bat_unit\Entity\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}