public function OpenlayersStyleDeleteForm::getCancelUrl in Openlayers 8.4
Gets the cancel URL.
Provides the URL to go to if the user cancels the action. For entity delete forms, this is typically the route that points at the list controller.
Return value
\Drupal\Core\Url The URL to go to if the user cancels the deletion.
Overrides ConfirmFormInterface::getCancelUrl
1 call to OpenlayersStyleDeleteForm::getCancelUrl()
- OpenlayersStyleDeleteForm::submitForm in src/
Form/ OpenlayersStyleDeleteForm.php - The submit handler for the confirm form.
File
- src/
Form/ OpenlayersStyleDeleteForm.php, line 53
Class
- OpenlayersStyleDeleteForm
- Class OpenlayersStyleDeleteForm.
Namespace
Drupal\openlayers\FormCode
public function getCancelUrl() {
return new Url('entity.openlayers_style.list');
}