$block = \Drupal\block\Entity\Block::load('your_block_id');
$variables['block_output'] = \Drupal::entityTypeManager()
->getViewBuilder('block')
->view($block);
Last active
January 12, 2017 20:09
-
-
Save jacerider/08a4246fd327fdac5f64814a58721e27 to your computer and use it in GitHub Desktop.
D8 | Reuse an existing block
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment