diff --git a/core/modules/views/src/Plugin/Block/ViewsBlockBase.php b/core/modules/views/src/Plugin/Block/ViewsBlockBase.php
index 4a814d7..1256b21 100644
--- a/core/modules/views/src/Plugin/Block/ViewsBlockBase.php
+++ b/core/modules/views/src/Plugin/Block/ViewsBlockBase.php
@@ -86,6 +86,26 @@ public static function create(ContainerInterface $container, array $configuratio
   }
 
   /**
+   * Gets the View executable object.
+   *
+   * @return \Drupal\views\ViewExecutable
+   *   The View executable object.
+   */
+  public function getView() {
+    return $this->view;
+  }
+
+  /**
+   * Gets the display ID being used for this View.
+   *
+   * @return string
+   *   The display ID being used for this View.
+   */
+  public function getDisplayId() {
+    return $this->displayID;
+  }
+
+  /**
    * {@inheritdoc}
    */
   protected function blockAccess(AccountInterface $account) {
