core/modules/contact/contact.module | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/modules/contact/contact.module b/core/modules/contact/contact.module index 5d4c26b..3354ca3 100644 --- a/core/modules/contact/contact.module +++ b/core/modules/contact/contact.module @@ -13,6 +13,8 @@ * Implements hook_help(). */ function contact_help($route_name, RouteMatchInterface $route_match) { + // Only generate necessary URLs inside the switch cases, to ensure no work is + // done at all when no help is displayed. switch ($route_name) { case 'help.page.contact':