diff core/lib/Drupal/Core/Entity/Entity.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 1fec387a4317
children 129ea1e6d783
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Entity/Entity.php	Thu Apr 26 11:26:54 2018 +0100
+++ b/core/lib/Drupal/Core/Entity/Entity.php	Tue Jul 10 15:07:59 2018 +0100
@@ -13,6 +13,7 @@
 use Drupal\Core\Link;
 use Drupal\Core\Session\AccountInterface;
 use Drupal\Core\Url;
+use Symfony\Component\Routing\Exception\MissingMandatoryParametersException;
 use Symfony\Component\Routing\Exception\RouteNotFoundException;
 
 /**
@@ -344,6 +345,9 @@
       catch (RouteNotFoundException $e) {
         return FALSE;
       }
+      catch (MissingMandatoryParametersException $e) {
+        return FALSE;
+      }
       return TRUE;
     });
   }