VIEWS : Undefined array key "view_mode"

Created on 30 March 2024, 3 months ago
Updated 4 April 2024, 3 months ago

Problem/Motivation

When you create a new view and add custom field with entity reference (user) and change widget to Rendered entity (default) log shows following warning:

Warning: Undefined array key "view_mode" in Drupal\custom_field\Plugin\CustomField\FieldFormatter\EntityReferenceEntityFormatter->formatValue() (line 105 of \web\modules\contrib\custom_field\src\Plugin\CustomField\FieldFormatter\EntityReferenceEntityFormatter.php)
🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024