private function checkRequestParams() {
    $show_popup = TRUE;
    if (!empty($_REQUEST['location'])) {
      $show_popup = FALSE;
    }
    if (!empty($node = \Drupal::routeMatch()->getParameter('node')) && in_array($node->bundle(), ['branch', 'camp'])) {
      $show_popup = FALSE;
    }
    return $show_popup;
  }
private function checkRequestParams() {
    $show_popup = TRUE;
    if (!empty($_REQUEST['location'])) {
      $show_popup = FALSE;
    }
    if (!empty($node = \Drupal::routeMatch()->getParameter('node')) && in_array($node->bundle(), ['branch', 'camp'])) {
      $show_popup = FALSE;
    }
    return $show_popup;
  }
private function checkRequestParams ( ) { $ show_popup = TRUE ; if ( ! empty ( $ _REQUEST [ 'location' ] ) ) { $ show_popup = FALSE ; } if ( ! empty ( $ node = \ Drupal :: routeMatch ( ) -> getParameter ( 'node' ) ) && in_array ( $ node -> bundle ( ) , [ 'branch' , 'camp' ] ) ) { $ show_popup = FALSE ; } return $ show_popup ; }
Check for required popup output.
Check for required popup output .