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 b871beb commit 716411dCopy full SHA for 716411d
skeleton/event/main_listener.php.twig
@@ -20,6 +20,11 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
20
*/
21
class main_listener implements EventSubscriberInterface
22
{
23
+ /**
24
+ * Map phpBB core events to the listener methods that should handle those events
25
+ *
26
+ * @return array
27
+ */
28
public static function getSubscribedEvents()
29
30
return [
@@ -34,7 +39,7 @@ class main_listener implements EventSubscriberInterface
34
39
'core.display_forums_modify_template_vars' => 'display_forums_modify_template_vars',
35
40
{% endif %}
36
41
{% if COMPONENT.permissions %}
37
- 'core.permissions' => 'add_permissions',
42
+ 'core.permissions' => 'add_permissions',
38
43
44
];
45
}
0 commit comments