From 22bf57e0d4d33bf98d16199c593a69ace9d135e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Tue, 3 Dec 2024 14:49:12 +0100 Subject: [PATCH] Add missing hook constant --- src/Plugin/Hooks.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Plugin/Hooks.php b/src/Plugin/Hooks.php index 88608820bb9..09d8f712673 100644 --- a/src/Plugin/Hooks.php +++ b/src/Plugin/Hooks.php @@ -41,9 +41,10 @@ class Hooks const CSRF_COMPLIANT = 'csrf_compliant'; // File hooks - const ADD_CSS = 'add_css'; - const ADD_JAVASCRIPT = 'add_javascript'; - const ADD_HEADER_TAG = 'add_header_tag'; + const ADD_CSS = 'add_css'; + const ADD_JAVASCRIPT = 'add_javascript'; + const ADD_JAVASCRIPT_MODULE = 'add_javascript_module'; + const ADD_HEADER_TAG = 'add_header_tag'; // Function hooks with no parameters const CHANGE_ENTITY = 'change_entity';