You are here

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

Same name and namespace in other branches
  1. 8 src/Form/CslStyleDeleteForm.php \Drupal\bibcite\Form\CslStyleDeleteForm::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/CslStyleDeleteForm.php, line 31

Class

CslStyleDeleteForm
Builds the form to delete CSL style entities.

Namespace

Drupal\bibcite\Form

Code

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