public FieldConfigDeleteForm::getCancelUrl()
Returns the route to go to if the user cancels the action.
Return value
\Drupal\Core\Url A URL object.
Overrides EntityDeleteFormTrait::getCancelUrl
File
- core/modules/field_ui/src/Form/FieldConfigDeleteForm.php, line 85
Class
- FieldConfigDeleteForm
- Provides a form for removing a field from a bundle.
Namespace
Drupal\field_ui\Form
Code
public function getCancelUrl() { return FieldUI::getOverviewRouteInfo($this->entity->getTargetEntityTypeId(), $this->entity->getTargetBundle()); }
Please login to continue.