public static Drupal::destination()
Returns the redirect destination helper.
Return value
\Drupal\Core\Routing\RedirectDestinationInterface The redirect destination helper.
File
- core/lib/Drupal.php, line 710
- Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function destination() { return static::getContainer()->get('redirect.destination'); }
Please login to continue.