You are here

public function RelationDeleteConfirm::getQuestion in Relation 8.2

Same name and namespace in other branches
  1. 8 src/Form/RelationDeleteConfirm.php \Drupal\relation\Form\RelationDeleteConfirm::getQuestion()

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/RelationDeleteConfirm.php, line 29

Class

RelationDeleteConfirm
Provides a form for relation deletion.

Namespace

Drupal\relation\Form

Code

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