You are here

public function DomainPathDeleteForm::getQuestion in Domain Path 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 ContentEntityDeleteForm::getQuestion

File

src/Form/DomainPathDeleteForm.php, line 18

Class

DomainPathDeleteForm
Provides a form for deleting a domain_path entity.

Namespace

Drupal\domain_path\Form

Code

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