Skip to content
Snippets Groups Projects
Commit fc5bbc72 authored by Alan Hatch's avatar Alan Hatch Committed by Sascha Grossenbacher
Browse files

Issue #3165081 by AlanHDev: Destination URL not set when deleting flag through Field Entry Form

parent b3167378
Branches
Tags
No related merge requests found
......@@ -64,7 +64,7 @@ class FlaggingForm extends ContentEntityForm {
$route_params = [
'flag' => $this->entity->getFlagId(),
'entity_id' => $this->entity->getFlaggableId(),
'destination' => $this->getRequest()->request->get('destination'),
'destination' => $this->getRequest()->query->get('destination'),
];
$url = Url::fromRoute('flag.field_entry.delete', $route_params);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment