Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | function consentSimpleAdmin_hook_configpage(Template &$template) |
||
13 | { |
||
14 | $template->data['links']['consentsimpleadmin'] = [ |
||
15 | 'href' => Module::getModuleURL('consentSimpleAdmin/consentAdmin.php'), |
||
16 | 'text' => Translate::noop('Consent withdrawal'), |
||
17 | ]; |
||
18 | $template->data['links']['consentsimpleadmin_stats'] = [ |
||
19 | 'href' => Module::getModuleURL('consentSimpleAdmin/consentStats.php'), |
||
20 | 'text' => Translate::noop('Consent Storage Statistics'), |
||
21 | ]; |
||
22 | $template->getLocalization()->addModuleDomain('consentSimpleAdmin'); |
||
23 | } |
||
24 |