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