public function SiteSettingEntityTypeDeleteForm::getCancelUrl in Site Settings and Labels 8
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides ConfirmFormInterface::getCancelUrl
1 call to SiteSettingEntityTypeDeleteForm::getCancelUrl()
File
- src/
Form/ SiteSettingEntityTypeDeleteForm.php, line 50
Class
- SiteSettingEntityTypeDeleteForm
- Builds the form to delete Site Setting type entities.
Namespace
Drupal\site_settings\FormCode
public function getCancelUrl() {
return new Url('entity.site_setting_entity_type.collection');
}