You are here

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

Class

JobResubmitForm
Provides a form for deleting a node.

Namespace

Drupal\tmgmt\Form

Code

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