Load a view with parameters I got a question regarding the loading of a view within a preprocess function of Drupal 8.

The only working solution I found is this one here:

$_block_level_1 = \Drupal::entityManager()-&gt;getStorage('block')-&gt;load('views_block__myview_ov_block_1');


So by using the entity manager.

The view is expecting parameters. How do I send them?
If you prepare a render element of the view

$variables['view_block_1'] = [
  '#type' =&gt; 'view',
  '#name' =&gt; $name,
  '#display_id' =&gt; $display_id,
  '#arguments' =&gt; $args,
];


you can then render this view in twig:

{{ view_block_1 }}