function FieldConfigDeleteForm::getCancelUrl

Same name in other branches
  1. 9 core/modules/field_ui/src/Form/FieldConfigDeleteForm.php \Drupal\field_ui\Form\FieldConfigDeleteForm::getCancelUrl()
  2. 10 core/modules/field_ui/src/Form/FieldConfigDeleteForm.php \Drupal\field_ui\Form\FieldConfigDeleteForm::getCancelUrl()
  3. 11.x 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 87

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.