You are here

public function AnimateDeleteForm::getConfirmText in Animate Any 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

src/Form/AnimateDeleteForm.php, line 32

Class

AnimateDeleteForm
Defines a confirmation form for deleting Animation data from Animation list.

Namespace

Drupal\animate_any\Form

Code

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