FieldEmbedView::getViewsArgumentsValues() contains the following code.

    $reference_key = $display_settings['reference_key'];
    $field_name = $display_settings['field_name'];
    $reference_key = $display_settings['reference_key'] ?? $field_name;
    $display_field_name = $display_field['field_name'];

$reference_key is initialized twice, and $display_field_name is initialized once, but never used.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

apaderno created an issue. See original summary.

avpaderno’s picture

Status: Active » Needs review

  • apaderno committed d8ef244b on 9.1.x
    Issue #3431275: FieldEmbedView::getViewsArgumentsValues() initializes...
avpaderno’s picture

Status: Needs review » Fixed
avpaderno’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.