Last active
June 5, 2018 09:47
Revisions
-
Lukas von Blarer renamed this gist
Jun 5, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Lukas von Blarer renamed this gist
Jun 5, 2018 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ <?php /* * Implements hook_preprocess_HOOK(). */ -
Lukas von Blarer renamed this gist
Jun 5, 2018 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,3 @@ /* * Implements hook_preprocess_HOOK(). */ -
Lukas von Blarer created this gist
Jun 5, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ /* * Implements hook_preprocess_HOOK(). */ function THEME_preprocess_node(&$variables) { $url = Url::fromRoute('entity.node.canonical', array('node' => $variables['node']->id())); $variables['url'] = $url; }