public static function Drupal::destination in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal.php \Drupal::destination()
Returns the redirect destination helper.
Return value
\Drupal\Core\Routing\RedirectDestinationInterface The redirect destination helper.
1 call to Drupal::destination()
- RedirectDestinationTrait::getRedirectDestination in core/
lib/ Drupal/ Core/ Routing/ RedirectDestinationTrait.php - Returns the redirect destination service.
File
- core/
lib/ Drupal.php, line 703 - Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function destination() {
return static::getContainer()
->get('redirect.destination');
}