You are here

public function TransactionExecuteForm::getQuestion in Transaction 8

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/TransactionExecuteForm.php, line 16

Class

TransactionExecuteForm
Provides a form for transaction execution.

Namespace

Drupal\transaction\Form

Code

public function getQuestion() {
  return $this
    ->t('Execute %label transaction?', [
    '%label' => $this->entity
      ->label(),
  ]);
}