You are here

public function RelationDeleteConfirm::getConfirmText in Relation 8

Same name and namespace in other branches
  1. 8.2 src/Form/RelationDeleteConfirm.php \Drupal\relation\Form\RelationDeleteConfirm::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/RelationDeleteConfirm.php, line 49
Contains \Drupal\relation\Form\RelationDeleteConfirm.

Class

RelationDeleteConfirm
Provides a form for relation deletion.

Namespace

Drupal\relation\Form

Code

public function getConfirmText() {
  return t('Delete');
}