You are here

public function WorkspaceDeleteForm::getConfirmText in Opigno Moxtra 8

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

Returns a caption for the button that confirms the action.

Return value

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

Overrides ContentEntityConfirmFormBase::getConfirmText

File

src/Form/WorkspaceDeleteForm.php, line 26

Class

WorkspaceDeleteForm
Provides a form for deleting a opigno_moxtra_workspace entity.

Namespace

Drupal\opigno_moxtra\Form

Code

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