Update to Drupal 8.0.1. For more information, see https://www.drupal.org/node/2627402
This commit is contained in:
parent
013aaaf2ff
commit
1a0e9d9fac
153 changed files with 1268 additions and 670 deletions
|
@ -81,7 +81,7 @@ class Drupal {
|
|||
/**
|
||||
* The current system version.
|
||||
*/
|
||||
const VERSION = '8.0.0';
|
||||
const VERSION = '8.0.1';
|
||||
|
||||
/**
|
||||
* Core API compatibility.
|
||||
|
@ -570,6 +570,13 @@ class Drupal {
|
|||
*
|
||||
* @see \Drupal\Core\Utility\LinkGeneratorInterface::generate()
|
||||
* @see \Drupal\Core\Url
|
||||
*
|
||||
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
|
||||
* Use \Drupal\Core\Link instead.
|
||||
* Example:
|
||||
* @code
|
||||
* $link = Link::fromTextAndUrl($text, $url);
|
||||
* @endcode
|
||||
*/
|
||||
public static function l($text, Url $url) {
|
||||
return static::getContainer()->get('link_generator')->generate($text, $url);
|
||||
|
|
Reference in a new issue