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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);