Drupal::destination

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');
}
doc_Drupal
2016-10-29 09:02:44
Comments
Leave a Comment

Please login to continue.