Last active
October 21, 2017 13:48
-
-
Save Kloport/b9929ce5ffb9c342a9efe396bb543e9d to your computer and use it in GitHub Desktop.
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
use Drupal\Core\Url; | |
$url = Url::fromRoute('route.name'); | |
$internal_link = \Drupal::l(t('Route link'), $url); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment