public function UnitDeleteMultiple::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 ConfirmFormBase::getConfirmText
File
- modules/
bat_unit/ src/ Form/ UnitDeleteMultiple.php, line 78 - Contains \Drupal\bat_unit\Form\UnitDeleteMultiple.
Class
- UnitDeleteMultiple
- Provides a unit deletion confirmation form.
Namespace
Drupal\bat_unit\FormCode
public function getConfirmText() {
return t('Delete');
}