Closed
Description
Bug report
After updating to 1.3.8 I get the following error, downgrading to 1.3.7 fixes it:
Call to method id() on an unknown class Drupal\Core\Field\T
Code snippet that reproduces the problem
foreach ($entity as $field) {
if ($field instanceof EntityReferenceRevisionsFieldItemList) {
$paragraphFields[] = $field;
}
}
foreach ($paragraphFields as $field) {
foreach ($field->referencedEntities() as $entity) {
if ($entity instanceof SnswParagraphInterface) {
yield (int) $entity->id() => $entity;
Where interface SnswParagraphInterface extends ParagraphInterface