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