Skip to main content
Start of main content.

Layouts

Creating a layout plugin with dynamic regions

Layout plugins in Drupal are typically declared via a YML file, with the regions nominated ahead of time. But what happens if you need your regions to be dynamic, such as an arbitrary number of tabs in a tabset?