You are here

public function UpdateForm::getQuestion in Workspace 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/UpdateForm.php, line 151

Class

UpdateForm
The form to update the current workspace with its upstream.

Namespace

Drupal\workspace\Form

Code

public function getQuestion() {
  return $this
    ->t('Queue an update of @workspace', [
    '@workspace' => $this
      ->getActive()
      ->label(),
  ]);
}