public function ServerDeleteConfirmForm::getCancelUrl in Search API 8
Overrides EntityDeleteFormTrait::getCancelUrl
File
- src/
Form/ ServerDeleteConfirmForm.php, line 59
Class
- ServerDeleteConfirmForm
- Defines a confirm form for deleting a server.
Namespace
Drupal\search_api\FormCode
public function getCancelUrl() {
return new Url('entity.search_api_server.canonical', [
'search_api_server' => $this->entity
->id(),
]);
}