You are here

public function FieldConfigDeleteForm::getCancelUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field_ui/src/Form/FieldConfigDeleteForm.php \Drupal\field_ui\Form\FieldConfigDeleteForm::getCancelUrl()

Overrides EntityDeleteFormTrait::getCancelUrl

1 call to FieldConfigDeleteForm::getCancelUrl()
FieldConfigDeleteForm::submitForm in core/modules/field_ui/src/Form/FieldConfigDeleteForm.php

File

core/modules/field_ui/src/Form/FieldConfigDeleteForm.php, line 90
Contains \Drupal\field_ui\Form\FieldConfigDeleteForm.

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());
}