Skip to content
Snippets Groups Projects

Issue #3323764: eca_views: Export and execute do not work for display variants

Merged mxh requested to merge issue/eca-3323764:3323764-ecaviews-export-and into 1.1.x
2 files
+ 17
8
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -30,14 +30,15 @@ class ViewsExport extends ViewsQuery {
* {@inheritdoc}
*/
public function execute($object = NULL): void {
if (!($display = $this->getDisplay())) {
if (!$this->getDisplay() || !isset($this->view)) {
return;
}
if ($this->configuration['load_results_into_token']) {
parent::execute();
}
else {
$display->execute();
$this->view->preExecute();
$this->view->execute();
}
$this->view->display_handler->buildRenderable($this->view->args, FALSE);
/** @var \Drupal\Core\Render\RendererInterface $renderer */
Loading