architecture de contenu + theming in parrallele
This commit is contained in:
5
web_main/modules/custom/mathallomod/mathallomod.info.yml
Normal file
5
web_main/modules/custom/mathallomod/mathallomod.info.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
name: 'mathallomod'
|
||||
type: module
|
||||
description: 'helpers for mathallo'
|
||||
core_version_requirement: ^10.6 || ^11.0
|
||||
package: 'mathallo'
|
||||
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