public function IndexDeleteForm::getCancelUrl in Elasticsearch Connector 8.5
Same name and namespace in other branches
- 8.7 src/Form/IndexDeleteForm.php \Drupal\elasticsearch_connector\Form\IndexDeleteForm::getCancelUrl()
- 8 src/Form/IndexDeleteForm.php \Drupal\elasticsearch_connector\Form\IndexDeleteForm::getCancelUrl()
- 8.2 src/Form/IndexDeleteForm.php \Drupal\elasticsearch_connector\Form\IndexDeleteForm::getCancelUrl()
- 8.6 src/Form/IndexDeleteForm.php \Drupal\elasticsearch_connector\Form\IndexDeleteForm::getCancelUrl()
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/ IndexDeleteForm.php, line 98
Class
- IndexDeleteForm
- Defines a confirmation form for deletion of a custom menu.
Namespace
Drupal\elasticsearch_connector\FormCode
public function getCancelUrl() {
return new Url('elasticsearch_connector.config_entity.list');
}