You are here

public function BreakLockForm::getQuestion in Rules 8.3

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Form/BreakLockForm.php, line 66

Class

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

Namespace

Drupal\rules\Form

Code

public function getQuestion() {
  return $this
    ->t('Do you want to break the lock on %label?', [
    '%label' => $this->rulesUiHandler
      ->getComponentLabel(),
  ]);
}