render block

Drupal8: Set block in a region programmatically.

This CodeLet will display a block content in a region programmatically.
You have to implement hook_preprocess_HOOK() in THEMENAME.theme file of your theme directory.

Subscribe to RSS - render block