Missing view_mode for slot_inline_block

Created on 30 July 2024, 5 months ago
Updated 20 August 2024, 4 months ago

Problem/Motivation

In Drupal 10.3.1, block_content.module expects a view_mode in the block_content configuration:
$view_mode = strtr($variables['elements']['#configuration']['view_mode'], '.', '_');
If not present, this causes php warning spam.

Proposed resolution

Add the view_mode into defaultConfiguration in SlotInlineBlock.php.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany drupatz

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024