You are here

public function FieldInheritanceDeleteForm::getConfirmText in Field Inheritance 8

Same name and namespace in other branches
  1. 2.0.x src/Form/FieldInheritanceDeleteForm.php \Drupal\field_inheritance\Form\FieldInheritanceDeleteForm::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/FieldInheritanceDeleteForm.php, line 71

Class

FieldInheritanceDeleteForm
Builds the form to delete Field inheritance entities.

Namespace

Drupal\field_inheritance\Form

Code

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