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
Namespace
Drupal\replicate_ui\FormCode
public function getQuestion() {
return t('Are you sure you want to replicate %type entity id %id?', [
'%type' => $this
->getEntityTypeId(),
'%id' => $this
->getEntity()
->id(),
]);
}