Update to Drupal 8.2.2. For more information, see https://www.drupal.org/project/drupal/releases/8.2.2
This commit is contained in:
parent
23ffed3665
commit
507b45a0ed
378 changed files with 11434 additions and 5542 deletions
|
@ -20,7 +20,7 @@ class PathRootsSubscriber implements EventSubscriberInterface {
|
|||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $pathRoots;
|
||||
protected $pathRoots = [];
|
||||
|
||||
/**
|
||||
* The state key value store.
|
||||
|
@ -58,7 +58,7 @@ class PathRootsSubscriber implements EventSubscriberInterface {
|
|||
*/
|
||||
public function onRouteFinished() {
|
||||
$this->state->set('router.path_roots', array_keys($this->pathRoots));
|
||||
unset($this->pathRoots);
|
||||
$this->pathRoots = [];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue