Context region embed

Component ID

2842196

Component name

Context region embed

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

820

Component created

Component changed

Component body

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.