From bd0da161e07e78ef98077a1d7b6b2fb8e760d677 Mon Sep 17 00:00:00 2001
From: M Parker <mparker17@536298.no-reply.drupal.org>
Date: Fri, 11 Dec 2015 10:34:17 -0500
Subject: [PATCH] 2633388-2

---
 core/modules/views/src/Plugin/Block/ViewsBlock.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/core/modules/views/src/Plugin/Block/ViewsBlock.php b/core/modules/views/src/Plugin/Block/ViewsBlock.php
index 20dbace..681a3f9 100644
--- a/core/modules/views/src/Plugin/Block/ViewsBlock.php
+++ b/core/modules/views/src/Plugin/Block/ViewsBlock.php
@@ -28,6 +28,9 @@ class ViewsBlock extends ViewsBlockBase {
   public function build() {
     $this->view->display_handler->preBlockBuild($this);
 
+    // We ask ViewExecutable::buildRenderable() to avoid creating a render cache
+    // entry for the view output by passing FALSE, because we're going to cache
+    // the whole block instead.
     if ($output = $this->view->buildRenderable($this->displayID, [], FALSE)) {
       // Override the label to the dynamic title configured in the view.
       if (empty($this->configuration['views_label']) && $this->view->getTitle()) {
-- 
2.6.2

