You are here

public function JobAbortForm::getQuestion in Translation Management Tool 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/JobAbortForm.php, line 16

Class

JobAbortForm
Provides a form for deleting a node.

Namespace

Drupal\tmgmt\Form

Code

public function getQuestion() {
  return $this
    ->t('Abort this job?', array(
    '%title' => $this->entity
      ->label(),
  ));
}