function 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.