You are here

public function CorrespondingReferenceDeleteForm::getConfirmText in Corresponding Entity References 8.4

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/CorrespondingReferenceDeleteForm.php, line 33

Class

CorrespondingReferenceDeleteForm
Form handler for corresponding reference delete form.

Namespace

Drupal\cer\Form

Code

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