summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2018-04-10 11:53:48 (GMT)
committerAlex Pott2018-04-10 11:53:48 (GMT)
commit5550b7650f9e58e57ae7eccb677bf4861e673149 (patch)
treeef24a4305ae269ab427620dcfa4ded89d022f2b3
parenta809a15ece3b2af3f9b87d1889feef114ea33864 (diff)
Issue #2886613 by blake.thompson: Allow Attachments on Embed Displays
-rw-r--r--core/modules/views/src/Plugin/views/display/Embed.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/modules/views/src/Plugin/views/display/Embed.php b/core/modules/views/src/Plugin/views/display/Embed.php
index 6abf9d6..3b82aca 100644
--- a/core/modules/views/src/Plugin/views/display/Embed.php
+++ b/core/modules/views/src/Plugin/views/display/Embed.php
@@ -23,6 +23,11 @@ class Embed extends DisplayPluginBase {
/**
* {@inheritdoc}
*/
+ protected $usesAttachments = TRUE;
+
+ /**
+ * {@inheritdoc}
+ */
public function buildRenderable(array $args = [], $cache = TRUE) {
$build = parent::buildRenderable($args, $cache);
$build['#embed'] = TRUE;