MenuLinkContentDeleteForm::getRedirectUrl

protected MenuLinkContentDeleteForm::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/menu_link_content/src/Form/MenuLinkContentDeleteForm.php, line 26

Class

MenuLinkContentDeleteForm
Provides a delete form for content menu links.

Namespace

Drupal\menu_link_content\Form

Code

protected function getRedirectUrl() {
  return $this->getCancelUrl();
}
doc_Drupal
2016-10-29 09:26:40
Comments
Leave a Comment

Please login to continue.