You are here

public function RelationTypeDeleteConfirm::getConfirmText in Relation 8

Same name and namespace in other branches
  1. 8.2 src/Form/RelationTypeDeleteConfirm.php \Drupal\relation\Form\RelationTypeDeleteConfirm::getConfirmText()

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/RelationTypeDeleteConfirm.php, line 64
Contains \Drupal\relation\Form\RelationTypeDeleteConfirm.

Class

RelationTypeDeleteConfirm
Provides a form for relation type deletion.

Namespace

Drupal\relation\Form

Code

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