You are here

public function BreakLockForm::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/BreakLockForm.php, line 95

Class

BreakLockForm
Builds the form to break the lock of an edited rule.

Namespace

Drupal\rules\Form

Code

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