For some advanced usecases you want to be able to embed a context region into another template.

This module allows you to do that:

 $build['examples_link'] = [
   '#type' => 'context_region_embed',
   '#region' => 'sidebar',
 ];

The user of this module has to ensure that the region they want to render is hidden from the main page template.

Supporting organizations: 

Project Information

Downloads