diff --git a/core/modules/migrate_drupal/src/Plugin/migrate/source/d7/FieldableEntity.php b/core/modules/migrate_drupal/src/Plugin/migrate/source/d7/FieldableEntity.php index 30d641b9e8..9876fb515a 100644 --- a/core/modules/migrate_drupal/src/Plugin/migrate/source/d7/FieldableEntity.php +++ b/core/modules/migrate_drupal/src/Plugin/migrate/source/d7/FieldableEntity.php @@ -20,9 +20,8 @@ abstract class FieldableEntity extends DrupalSqlBase { /** - * Memory cache for cache items. + * Stores the field configuration data for each entity field. * - * An associative array of Cache values and its CID. * @var array[] */ protected $cache = []; @@ -45,9 +44,7 @@ abstract class FieldableEntity extends DrupalSqlBase { * The field instances, keyed by field name. */ protected function getFields($entity_type, $bundle = NULL) { - $cid = $entity_type . ':' . ($bundle ?? ''); - if (!isset($this->cache[$cid])) { $query = $this->select('field_config_instance', 'fci') ->fields('fci')