I'm developing a site using Drupal 8 beta-14. I've created a view block of different terms and now I want to display it using code. How can I display it programatically? I used to do it in Drupal 7 using this code but I'm confused about Drupal 8.
$block = module_invoke('block', 'block_view', '4'); $text_block = render($block['content']);