Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078

This commit is contained in:
Pantheon Automation 2015-11-04 11:11:27 -08:00 committed by Greg Anderson
parent 6419a031d7
commit 4afb23bbd3
762 changed files with 20080 additions and 6368 deletions

View file

@ -81,7 +81,7 @@ class Drupal {
/**
* The current system version.
*/
const VERSION = '8.0.0-rc2';
const VERSION = '8.0.0-rc3';
/**
* Core API compatibility.
@ -120,9 +120,9 @@ class Drupal {
/**
* Returns the currently active global container.
*
* @throws \Drupal\Core\DependencyInjection\ContainerNotInitializedException
*
* @return \Symfony\Component\DependencyInjection\ContainerInterface|null
*
* @throws \Drupal\Core\DependencyInjection\ContainerNotInitializedException
*/
public static function getContainer() {
if (static::$container === NULL) {
@ -150,6 +150,7 @@ class Drupal {
*
* @param string $id
* The ID of the service to retrieve.
*
* @return mixed
* The specified service.
*/
@ -517,6 +518,10 @@ class Drupal {
* @see \Drupal\Core\Url
* @see \Drupal\Core\Url::fromRoute()
* @see \Drupal\Core\Url::fromUri()
*
* @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().
*/
public static function url($route_name, $route_parameters = array(), $options = array(), $collect_bubbleable_metadata = FALSE) {
return static::getContainer()->get('url_generator')->generateFromRoute($route_name, $route_parameters, $options, $collect_bubbleable_metadata);