public functiongetOptions(RouteMatchInterface $route_match) {
$options = parent::getOptions($route_match);
// Append the current path as destination to the query string.$options['query']['destination'] = $this->redirectDestination
->get();
return$options;
}