public function FieldDeleteForm::getCancelUrl in Display Suite 8.2
Same name and namespace in other branches
- 8.4 src/Form/FieldDeleteForm.php \Drupal\ds\Form\FieldDeleteForm::getCancelUrl()
- 8.3 src/Form/FieldDeleteForm.php \Drupal\ds\Form\FieldDeleteForm::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/ FieldDeleteForm.php, line 63
Class
- FieldDeleteForm
- Provides a form to delete a DS field.
Namespace
Drupal\ds\FormCode
public function getCancelUrl() {
return new Url('ds.fields_list');
}