architecture de contenu + theming in parrallele
This commit is contained in:
15
web_main/modules/custom/mathallomod/mathallomod.module
Normal file
15
web_main/modules/custom/mathallomod/mathallomod.module
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Contains mathallomod.module.
|
||||
*/
|
||||
|
||||
|
||||
function mathallomod_link_alter(&$variables) {
|
||||
// $url = $variables['url'];
|
||||
// if($url->getRouteName() === "entity.node.canonical"){
|
||||
// $nid = $url->getRouteParameters()['node'];
|
||||
// $node =
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user