When using entity_lookup, this works great when there is a single reference, but not so well when there are multiple nodes referenced in a field.

I tried

field_irps:
  -
    plugin: explode
    source: irps
    delimiter: ', '
  -
    plugin: entity_lookup
    entity_type: node
    bundle: irp
    property: title
    source: irps
    ignore_case: true

Also tried

field_irps:
    -
      plugin: entity_lookup
      entity_type: node
      bundle: irp
      property: title
      source:
        plugin: explode
        source: irps
        delimiter: ', '
      ignore_case: true

Neither option delivered the desired results.

*I may be using the wrong plugin

Comments

kellyimagined created an issue. See original summary.

kellyimagined’s picture

Issue summary: View changes
kellyimagined’s picture

To many sources was the root. The explode was doing its job, but then having an additional source caused my explode to be void.

field_irps:
    -
      plugin: explode
      source: irps
      delimiter: ', '
    -
      plugin: entity_lookup
      entity_type: node
      bundle: irp
      property: title
      ignore_case: true
kellyimagined’s picture

Status: Active » Closed (works as designed)