You are here

public function LtiToolProviderConsumerDeleteForm::getQuestion in LTI Tool Provider 8

Same name and namespace in other branches
  1. 2.x src/Form/LtiToolProviderConsumerDeleteForm.php \Drupal\lti_tool_provider\Form\LtiToolProviderConsumerDeleteForm::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/LtiToolProviderConsumerDeleteForm.php, line 22

Class

LtiToolProviderConsumerDeleteForm
Form for deleting a lti_tool_provider_consumer entity.

Namespace

Drupal\lti_tool_provider\Form

Code

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