X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fentity%2Fentity.views.inc;fp=web%2Fmodules%2Fcontrib%2Fentity%2Fentity.views.inc;h=3074175c6806388b45374c2393e36ccb01dc02f7;hp=f4d5db32f420c3b15c2110513d022792377c958d;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/entity/entity.views.inc b/web/modules/contrib/entity/entity.views.inc index f4d5db32f..3074175c6 100644 --- a/web/modules/contrib/entity/entity.views.inc +++ b/web/modules/contrib/entity/entity.views.inc @@ -9,7 +9,7 @@ use Drupal\Core\Entity\EntityTypeInterface; function entity_views_data() { $entity_types = \Drupal::entityTypeManager()->getDefinitions(); $entity_types = array_filter($entity_types, function (EntityTypeInterface $entity_type) { - return $entity_type->isSubclassOf(ContentEntityInterface::class); + return $entity_type->entityClassImplements(ContentEntityInterface::class); }); $data = [];