Commit d163db71 authored by Attila Santo-Rieder's avatar Attila Santo-Rieder
Browse files

Issue #3183662 by attisan, Brolad: Option "Display even if view has no result" not working

parent 63630696
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -90,6 +90,10 @@ class EntityPrintViewsLink extends AreaPluginBase {
   * {@inheritdoc}
   */
  public function render($empty = FALSE) {
    if ($empty && empty($this->options['empty'])) {
      return [];
    }

    $route_params = [
      'export_type' => !empty($this->options['export_type']) ? $this->options['export_type'] : 'pdf',
      'view_name' => $this->view->storage->id(),