Created
December 6, 2016 14:52
-
-
Save modcab/34899f796b1e86ed22056b723c96033a to your computer and use it in GitHub Desktop.
Drupal 8 - Get absolute URL from front page.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Url::fromUri('internal:/')->setAbsolute()->toString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment