ShortcutDeleteForm::getRedirectUrl

protected ShortcutDeleteForm::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/shortcut/src/Form/ShortcutDeleteForm.php, line 32

Class

ShortcutDeleteForm
Builds the shortcut link deletion form.

Namespace

Drupal\shortcut\Form

Code

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

Please login to continue.