From 0e61d2181dcb11ec8dcd36e863c9fb2d487478ee Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Tue, 16 Nov 2021 16:16:57 +0000
Subject: [PATCH] Issue #3056409 by rkostov, larowlan, maximpodorov:
 BlockRepository::contextHandler is created dynamically

---
 core/modules/block/src/BlockRepository.php | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/core/modules/block/src/BlockRepository.php b/core/modules/block/src/BlockRepository.php
index 2f27df3d196f..146155717a7b 100644
--- a/core/modules/block/src/BlockRepository.php
+++ b/core/modules/block/src/BlockRepository.php
@@ -26,6 +26,13 @@ class BlockRepository implements BlockRepositoryInterface {
    */
   protected $themeManager;
 
+  /**
+   * The context handler.
+   *
+   * @var \Drupal\Core\Plugin\Context\ContextHandlerInterface
+   */
+  protected $contextHandler;
+
   /**
    * Constructs a new BlockRepository.
    *
-- 
GitLab