Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. $block = \Drupal\block\Entity\Block::load('socialshareblock');
  2. $variables['content']['social_output'] = \Drupal::entityTypeManager()
  3. ->getViewBuilder('block')
  4. ->view($block);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement