You are here

public function LocalTaskUnassignForm::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

translators/tmgmt_local/src/Form/LocalTaskUnassignForm.php, line 19

Class

LocalTaskUnassignForm
Unassign task confirmation form.

Namespace

Drupal\tmgmt_local\Form

Code

public function getQuestion() {
  return new TranslatableMarkup('Are you sure you want to unassign from the translation task @label?', [
    '@label' => $this
      ->getEntity()
      ->label(),
  ]);
}