Update to Drupal 8.1.1. For more information, see https://www.drupal.org/node/2718713
This commit is contained in:
parent
c0a0d5a94c
commit
9eae24d844
669 changed files with 3873 additions and 1553 deletions
|
@ -134,4 +134,3 @@ class AccessAwareRouter implements AccessAwareRouterInterface {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ class CompiledRoute extends SymfonyCompiledRoute {
|
|||
* @param array $variables
|
||||
* An array of variables (variables defined in the path and in the host patterns)
|
||||
*/
|
||||
public function __construct($fit, $pattern_outline, $num_parts, $staticPrefix, $regex, array $tokens, array $pathVariables, $hostRegex = null, array $hostTokens = array(), array $hostVariables = array(), array $variables = array()) {
|
||||
public function __construct($fit, $pattern_outline, $num_parts, $staticPrefix, $regex, array $tokens, array $pathVariables, $hostRegex = NULL, array $hostTokens = array(), array $hostVariables = array(), array $variables = array()) {
|
||||
parent::__construct($staticPrefix, $regex, $tokens, $pathVariables, $hostRegex, $hostTokens, $hostVariables, $variables);
|
||||
|
||||
$this->fit = $fit;
|
||||
|
|
|
@ -96,7 +96,7 @@ class RouteCompiler extends SymfonyRouteCompiler implements RouteCompilerInterfa
|
|||
$fit = 0;
|
||||
foreach ($parts as $k => $part) {
|
||||
if (strpos($part, '{') === FALSE) {
|
||||
$fit |= 1 << ($slashes - $k);
|
||||
$fit |= 1 << ($slashes - $k);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -207,13 +207,13 @@ class RouteProvider implements PreloadableRouteProviderInterface, PagedRouteProv
|
|||
else {
|
||||
try {
|
||||
$result = $this->connection->query('SELECT name, route FROM {' . $this->connection->escapeTable($this->tableName) . '} WHERE name IN ( :names[] )', array(':names[]' => $routes_to_load));
|
||||
$routes = $result->fetchAllKeyed();
|
||||
|
||||
$this->cache->set($cid, $routes, Cache::PERMANENT, ['routes']);
|
||||
}
|
||||
catch (\Exception $e) {
|
||||
$result = [];
|
||||
$routes = [];
|
||||
}
|
||||
$routes = $result->fetchAllKeyed();
|
||||
|
||||
$this->cache->set($cid, $routes, Cache::PERMANENT, ['routes']);
|
||||
}
|
||||
|
||||
$this->serializedRoutes += $routes;
|
||||
|
|
|
@ -153,7 +153,6 @@ class UrlGenerator implements UrlGeneratorInterface {
|
|||
* @param string $name
|
||||
* The route name or other identifying string from ::getRouteDebugMessage().
|
||||
*
|
||||
*
|
||||
* @return string
|
||||
* The url path, without any base path, including possible query string.
|
||||
*
|
||||
|
|
Reference in a new issue