Verified Commit 0dda232c authored by Jibran Ijaz's avatar Jibran Ijaz Committed by Lee Rowlands
Browse files

Issue #3307438 by jibran: Use getLabel() instead of label() on field definition

parent b66da186
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ class EntityReferenceUser extends EmailField {
        if ($sample_field->getSetting('target_type') !== 'user') {
          continue;
        }
        $field_options[$entity_type_id . ':' . $field_name] = $sample_field->label() . ' (' . $entity_type->getLabel() . ')';
        $field_options[$entity_type_id . ':' . $field_name] = $sample_field->getLabel() . ' (' . $entity_type->getLabel() . ')';
      }
    }
    return [