We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7402724 commit e1f0f9fCopy full SHA for e1f0f9f
docs/dev/framework/hooks.md
@@ -66,7 +66,7 @@ You can add your custom logic to hooks by extending the `TL_HOOKS` key in the
66
67
```php
68
// contao/config.php
69
-$GLOBALS['TL_HOOKS']['activateAccount'][] = [App\EventListener\ActivateAccountListener::class, 'onActivateAccount'];
+$GLOBALS['TL_HOOKS']['activateAccount'][] = [\App\EventListener\ActivateAccountListener::class, 'onActivateAccount'];
70
```
71
72
In this case, the method `onActivateAccount` in the class `App\EventListener\ActivateAccountListener` is called as soon as the hook
0 commit comments