public function OpenlayersSourceDeleteForm::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 OpenlayersSourceDeleteForm::getCancelUrl()
- OpenlayersSourceDeleteForm::submitForm in src/
Form/ OpenlayersSourceDeleteForm.php - The submit handler for the confirm form.
File
- src/
Form/ OpenlayersSourceDeleteForm.php, line 53
Class
- OpenlayersSourceDeleteForm
- Class OpenlayersSourceDeleteForm.
Namespace
Drupal\openlayers\FormCode
public function getCancelUrl() {
return new Url('entity.openlayers_source.list');
}