You are here

public function ReplicateConfirmForm::getQuestion in Replicate UI 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/ReplicateConfirmForm.php, line 128

Class

ReplicateConfirmForm

Namespace

Drupal\replicate_ui\Form

Code

public function getQuestion() {
  return t('Are you sure you want to replicate %type entity id %id?', [
    '%type' => $this
      ->getEntityTypeId(),
    '%id' => $this
      ->getEntity()
      ->id(),
  ]);
}