Created
December 27, 2016 14:14
-
-
Save MatthieuScarset/47b57f2e3bd4afee39a81ae5a7c3dc28 to your computer and use it in GitHub Desktop.
Drupal 8 - Get canonical node URL in TWIG
This file contains 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
{{ path('entity.node.canonical', {'node': node.id }) }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment