FormState::setRedirectUrl

public function FormState::setRedirectUrl

public FormState::setRedirectUrl(Url $url)

Sets the redirect URL for the form.

Parameters

\Drupal\Core\Url $url: The URL to redirect to.

Return value

$this

Overrides FormStateInterface::setRedirectUrl

See also

登录查看完整内容