TermDeleteForm::getRedirectUrl

protected TermDeleteForm::getRedirectUrl()

Returns the URL where the user should be redirected after deletion.

Return value

\Drupal\Core\Url The redirect URL.

Overrides EntityDeleteFormTrait::getRedirectUrl

File

core/modules/taxonomy/src/Form/TermDeleteForm.php, line 26

Class

TermDeleteForm
Provides a deletion confirmation form for taxonomy term.

Namespace

Drupal\taxonomy\Form

Code

1
2
3
protected function getRedirectUrl() {
  return $this->getCancelUrl();
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.