Why isn't my custom block rendering in the region I want? It shows in the content region, not my custom content_right region.
function bootstrap_preprocess_html(&$variables) {
if (\Drupal::routeMatch()->getRouteName() == 'some.path') {
$block = \Drupal::entityManager()->getStorage('block_content')->load(12);
//kint($block);
$block_view = \Drupal::entityManager()->getViewBuilder('block_content')->view($block);
$variables['page']['content_right']['custom_block'] = $block_view;
}
}
What am I missing?