You are here

public function ContributorRoleDeleteForm::getConfirmText in Bibliography & Citation 8

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

Class

ContributorRoleDeleteForm
Builds the form to delete Contributor role entities.

Namespace

Drupal\bibcite_entity\Form

Code

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