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