You are here

public function ILTDeleteForm::getConfirmText in Opigno Instructor-led Trainings 8

Same name and namespace in other branches
  1. 3.x src/Form/ILTDeleteForm.php \Drupal\opigno_ilt\Form\ILTDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

1 call to ILTDeleteForm::getConfirmText()
ILTDeleteForm::actions in src/Form/ILTDeleteForm.php
Returns an array of supported actions for the current entity form.

File

src/Form/ILTDeleteForm.php, line 80

Class

ILTDeleteForm
Provides a form for deleting a opigno_ilt entity.

Namespace

Drupal\opigno_ilt\Form

Code

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