public function MapInteractionDeleteForm::getCancelUrl in Openlayers 8.4
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/ MapInteractionDeleteForm.php, line 49
Class
- MapInteractionDeleteForm
- Form for deleting a map interaction.
Namespace
Drupal\openlayers\FormCode
public function getCancelUrl() {
return $this->olMap
->toUrl('edit-form');
}