public function ContentTypeConfigurationDeleteForm::getCancelUrl in Node Revision Delete 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 ContentTypeConfigurationDeleteForm::getCancelUrl()
- ContentTypeConfigurationDeleteForm::submitForm in src/
Form/ ContentTypeConfigurationDeleteForm.php - Form submission handler.
File
- src/
Form/ ContentTypeConfigurationDeleteForm.php, line 98
Class
- ContentTypeConfigurationDeleteForm
- Provides a content type configuration deletion confirmation form.
Namespace
Drupal\node_revision_delete\FormCode
public function getCancelUrl() {
return new Url('node_revision_delete.admin_settings');
}