You are here

public function EnvironmentIndicatorDeleteForm::getCancelUrl in Environment Indicator 4.x

Same name and namespace in other branches
  1. 8.3 src/Form/EnvironmentIndicatorDeleteForm.php \Drupal\environment_indicator\Form\EnvironmentIndicatorDeleteForm::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/EnvironmentIndicatorDeleteForm.php, line 35

Class

EnvironmentIndicatorDeleteForm
Provides a deletion confirmation form for environment_indicator environment.

Namespace

Drupal\environment_indicator\Form

Code

public function getCancelUrl() {
  return new Url('aggregator.admin_overview');
}