Fix bootstrap_layouts_theme_registry_alter() prevents subclassing BootstrapLayoutsBase

Created on 16 December 2021, almost 3 years ago
Updated 2 February 2023, almost 2 years ago

Problem/Motivation

If you attempt to subclass BootstrapLayoutsBase and swap it out in hook_layout_alter(), then _bootstrap_layouts_preprocess_layout() is not registered as a theme registry entry.

Steps to reproduce

Proposed resolution

Fix the check in bootstrap_layouts_theme_registry_alter()

Remaining tasks

Tests

User interface changes

N/A

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tim.plunkett Philadelphia

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024