LocalRedirectResponse.php

Namespace

Drupal\Core\Routing

File

core/lib/Drupal/Core/Routing/LocalRedirectResponse.php

View source
<?php

namespace Drupal\Core\Routing;


/**
 * Provides a redirect response which cannot redirect to an external URL.
 */
class LocalRedirectResponse extends CacheableSecuredRedirectResponse {
  use LocalAwareRedirectResponseTrait {
    LocalAwareRedirectResponseTrait::isLocal as isSafe;
  }

}

Classes

Title Deprecated Summary
LocalRedirectResponse Provides a redirect response which cannot redirect to an external URL.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.