public function WeatherDisplayDeleteForm::getCancelUrl in Weather 2.0.x
Same name and namespace in other branches
- 8 src/Form/WeatherDisplayDeleteForm.php \Drupal\weather\Form\WeatherDisplayDeleteForm::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/ WeatherDisplayDeleteForm.php, line 77
Class
- WeatherDisplayDeleteForm
- Provides a form for deleting a weather_display entity.
Namespace
Drupal\weather\FormCode
public function getCancelUrl() {
return Url::fromRoute('weather.settings');
}