- Issue created by @wla_g
In drupal 7 there was the option to direct the generated PDF into file on the server by:
$view->display->handler->execute($path, 'F');
In Drupal 10 I've tried
$view->display_handler->setOption('path', $pdf_path, 'F');
before
$view->preExecute();
$view->execute();
$view->buildRenderable($display_id);
but the file doesn't get generated.
Any hint how to get the pdf-file into the public filesystem would be welcomed.
Active
3.0
Code