You are here

public function ReferenceTypeDeleteForm::getConfirmText in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/Form/ReferenceTypeDeleteForm.php \Drupal\bibcite_entity\Form\ReferenceTypeDeleteForm::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

modules/bibcite_entity/src/Form/ReferenceTypeDeleteForm.php, line 31

Class

ReferenceTypeDeleteForm
Builds the form to delete Reference type entities.

Namespace

Drupal\bibcite_entity\Form

Code

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