Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $block = \Drupal\block\Entity\Block::load('socialshareblock');
- $variables['content']['social_output'] = \Drupal::entityTypeManager()
- ->getViewBuilder('block')
- ->view($block);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement