You are here

public function LtiToolProviderConsumerDeleteForm::getCancelUrl 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::getCancelUrl()

Returns the route to go to if the user cancels the action.

Return value

\Drupal\Core\Url A URL object.

Overrides ConfirmFormInterface::getCancelUrl

File

src/Form/LtiToolProviderConsumerDeleteForm.php, line 30

Class

LtiToolProviderConsumerDeleteForm
Form for deleting a lti_tool_provider_consumer entity.

Namespace

Drupal\lti_tool_provider\Form

Code

public function getCancelUrl() : Url {
  return new Url('entity.lti_tool_provider_consumer.collection');
}