Mercurial > hg > cmmr2012-drupal-site
diff core/lib/Drupal.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | a9cd425dd02b |
children |
line wrap: on
line diff
--- a/core/lib/Drupal.php Thu Feb 28 13:11:55 2019 +0000 +++ b/core/lib/Drupal.php Thu May 09 15:34:47 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); }