web-dev-qa-db-ja.com

Drupal 8でリダイレクトを作成する方法は?

Drupal 8?.

6
Axel Briche
$response = new Symfony\Component\HttpFoundation\RedirectResponse($url);
$response->send(); // don't send the response yourself inside controller and form.
return;
10
Axel Briche