You are here

public function VariableDeleteForm::getConfirmText in Business Rules 8

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

Class

VariableDeleteForm
Builds the form to delete Variable entities.

Namespace

Drupal\business_rules\Form

Code

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