You are here

public function ImportConfigDeleteForm::getQuestion in Entity Share 8.3

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

modules/entity_share_client/src/Form/ImportConfigDeleteForm.php, line 19

Class

ImportConfigDeleteForm
Builds the form to delete Import config entities.

Namespace

Drupal\entity_share_client\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete %name?', [
    '%name' => $this->entity
      ->label(),
  ]);
}