Theming for view mode broken

Created on 15 December 2022, over 1 year ago
Updated 5 February 2023, over 1 year ago

This commit https://git.drupalcode.org/project/submenutree/-/commit/a3bf8564094e1f56... changed the hook_theme to consolidate the teaser and full view modes into a new "view mode" theme function but:

1) the implementation of theme_submenu_tree_view_mode went into the wrong file, submenutree.admin.inc instead of submenutree.theme.inc
and
2) the conditional logic changed, so that the entire block only gets rendered if there's a title

This is a serious regression, and breaks all submenutree blocks using the "full" view mode.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

Live updates comments and jobs are added and updated live.
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.69.0 2024