You are here

public function StateDeleteForm::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/src/Entity/Form/StateDeleteForm.php, line 36
Contains \Drupal\bat_event\Form\Entity\StateDeleteForm.

Class

StateDeleteForm
Builds the form to delete State entities.

Namespace

Drupal\bat_event\Entity\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}