You are here

public function FlickityGroupDeleteForm::getConfirmText in Flickity Carousel 8

Same name and namespace in other branches
  1. 8.2 src/Form/FlickityGroupDeleteForm.php \Drupal\flickity\Form\FlickityGroupDeleteForm::getConfirmText()
  2. 3.0.x src/Form/FlickityGroupDeleteForm.php \Drupal\flickity\Form\FlickityGroupDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/FlickityGroupDeleteForm.php, line 36
Contains \Drupal\flickity\Form\FlickityGroupDeleteForm.

Class

FlickityGroupDeleteForm
Provides delete confirmation.

Namespace

Drupal\flickity\Form

Code

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