diff core/lib/Drupal.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 129ea1e6d783
children
line wrap: on
line diff
--- a/core/lib/Drupal.php	Thu Feb 28 13:21:36 2019 +0000
+++ b/core/lib/Drupal.php	Thu May 09 15:33:08 2019 +0100
@@ -82,7 +82,7 @@
   /**
    * The current system version.
    */
-  const VERSION = '8.6.10';
+  const VERSION = '8.7.1';
 
   /**
    * Core API compatibility.
@@ -577,6 +577,7 @@
    *   Url::fromRoute().
    */
   public static function url($route_name, $route_parameters = [], $options = [], $collect_bubbleable_metadata = FALSE) {
+    @trigger_error('Drupal::url() is deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Instead create a \Drupal\Core\Url object directly, for example using Url::fromRoute()', E_USER_DEPRECATED);
     return static::getContainer()->get('url_generator')->generateFromRoute($route_name, $route_parameters, $options, $collect_bubbleable_metadata);
   }