News: Announcement

Layout Section Fields, contributed to Drupal

A module that lets site builders attach fields to Layout Builder sections, released to Drupal.org in May 2022.

May 16, 2022

Layout Builder gave Drupal site builders real control over page structure, and then stopped one level short. A section is where the layout decisions live, but a section could not have fields of its own, so anything a builder wanted to vary per section — a background treatment, an anchor ID, a heading that belongs to the section rather than to a block inside it — had to be solved somewhere else. Usually in a theme, by a developer, which is the opposite of the point.

Layout Section Fields closes that gap. It gives site builders a configuration form for defining fields on sections. Those fields then appear on the configuration form of every new section and render inside it, without a developer in the loop.

Philip Frilling, lead back-end engineer, published it to Drupal.org in May 2022. Drupal.org credits Oomph (now Pare & Co) with the architecture and development.

Via Drupal.org.