Do not render empty page regions

Created on 27 November 2023, 12 months ago

Problem/Motivation

The sidebar region is improperly rendered even though it is empty.

This is a well-known and long standing issue with Drupal: 🌱 [meta] Themes improperly check renderable arrays when determining visibility Needs work .

Proposed resolution

Leverage the striptags Twig filter when doing the render step to check if empty.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇪🇨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024