You are here

public function DeleteExpressionForm::getConfirmText in Rules 8.3

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/DeleteExpressionForm.php, line 48

Class

DeleteExpressionForm
Removes an expression from a rule.

Namespace

Drupal\rules\Form

Code

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