FieldEmbedView::getFieldBuild() uses $view_display before initializing it

Created on 18 March 2024, 9 months ago
Updated 1 April 2024, 9 months ago

FieldEmbedView::getFieldBuild() uses $view_display, which is not a parameter, before initializing it.

$view_display = $view_object->getDisplay($view_display);

getDisplay() does not require any parameter. It returns the display previously set by a call to setDisplay().

The correct code is the following one.

$view_display = $view_object->getDisplay();
🐛 Bug report
Status

Fixed

Version

9.1

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

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