You are here

public function ActionDeleteForm::getConfirmText in Business Rules 8

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

Class

ActionDeleteForm
Builds the form to delete Action entities.

Namespace

Drupal\business_rules\Form

Code

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