Update to drupal 8.0.0-rc1. For more information, see https://www.drupal.org/node/2582663
This commit is contained in:
parent
eb34d130a8
commit
f32e58e4b1
8476 changed files with 211648 additions and 170042 deletions
|
@ -81,7 +81,7 @@ class Drupal {
|
|||
/**
|
||||
* The current system version.
|
||||
*/
|
||||
const VERSION = '8.0.0-beta15';
|
||||
const VERSION = '8.0.0-rc1';
|
||||
|
||||
/**
|
||||
* Core API compatibility.
|
||||
|
@ -459,7 +459,7 @@ class Drupal {
|
|||
*
|
||||
* Use the typed data manager service for creating typed data objects.
|
||||
*
|
||||
* @return \Drupal\Core\TypedData\TypedDataManager
|
||||
* @return \Drupal\Core\TypedData\TypedDataManagerInterface
|
||||
* The typed data manager.
|
||||
*
|
||||
* @see \Drupal\Core\TypedData\TypedDataManager::create()
|
||||
|
@ -542,20 +542,16 @@ class Drupal {
|
|||
* The link text for the anchor tag.
|
||||
* @param \Drupal\Core\Url $url
|
||||
* The URL object used for the link.
|
||||
* @param bool $collect_bubbleable_metadata
|
||||
* (optional) Defaults to FALSE. When TRUE, both the generated URL and its
|
||||
* associated bubbleable metadata are returned.
|
||||
*
|
||||
* @return string|\Drupal\Core\GeneratedLink
|
||||
* An HTML string containing a link to the given route and parameters.
|
||||
* When $collect_bubbleable_metadata is TRUE, a GeneratedLink object is
|
||||
* returned, containing the generated link plus bubbleable metadata.
|
||||
* @return \Drupal\Core\GeneratedLink
|
||||
* A GeneratedLink object containing a link to the given route and
|
||||
* parameters and bubbleable metadata.
|
||||
*
|
||||
* @see \Drupal\Core\Utility\LinkGeneratorInterface::generate()
|
||||
* @see \Drupal\Core\Url
|
||||
*/
|
||||
public static function l($text, Url $url, $collect_bubbleable_metadata = FALSE) {
|
||||
return static::getContainer()->get('link_generator')->generate($text, $url, $collect_bubbleable_metadata);
|
||||
public static function l($text, Url $url) {
|
||||
return static::getContainer()->get('link_generator')->generate($text, $url);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue