Skip to content

Commit

Permalink
Update EntityReferenceHandler.php
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiu-cristea authored Jul 9, 2024
1 parent aab6803 commit 2db6105
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Drupal/Driver/Fields/Drupal8/EntityReferenceHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ class EntityReferenceHandler extends AbstractHandler {
public function expand($values) {
$this->targetEntityTypeId = $this->fieldInfo->getSetting('target_type');

$id_key = $entity_definition->getKey('id');

// Determine label field key.
if ($this->targetEntityTypeId !== 'user') {
$this->targetLabelKey = $this->getEntityTypeKey($this->targetEntityTypeId, 'label');
Expand Down

0 comments on commit 2db6105

Please sign in to comment.