You are here

public function BusinessRuleDeleteForm::getConfirmText in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Form/BusinessRuleDeleteForm.php \Drupal\business_rules\Form\BusinessRuleDeleteForm::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/BusinessRuleDeleteForm.php, line 31

Class

BusinessRuleDeleteForm
Builds the form to delete Rule entities.

Namespace

Drupal\business_rules\Form

Code

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