From 98bfe684c3d4be47894a1a6ad162ad58f3b74c0e Mon Sep 17 00:00:00 2001 From: Eric Bremner <ebremner@uwaterloo.ca> Date: Fri, 14 Oct 2022 10:03:55 -0400 Subject: [PATCH] ISTWCMS-5880: coding standards --- uw_cfg_common.module | 2 -- 1 file changed, 2 deletions(-) diff --git a/uw_cfg_common.module b/uw_cfg_common.module index 3b252cca..f0c13488 100644 --- a/uw_cfg_common.module +++ b/uw_cfg_common.module @@ -886,8 +886,6 @@ function uw_cfg_common_form_alter(array &$form, FormStateInterface $form_state, } } - $node = \Drupal::routeMatch()->getParameter('node'); - // If there is a type of media field, it means that we are // on a node add/edit page, so add the states for the // actual media types in the hero section. -- GitLab