Issue #2940605: Can only intentionally re-render an entity with references 20 times
Open
requested to merge issue/drupal-2940605:2940605-use-entity-view-builder-recursion-protection into 11.x
Compare changes
@@ -9,6 +9,7 @@
@@ -22,6 +23,8 @@
@@ -80,6 +83,15 @@ class EntityViewBuilder extends EntityHandlerBase implements EntityHandlerInterf
@@ -107,13 +119,15 @@ public function __construct(EntityTypeInterface $entity_type, EntityRepositoryIn
@@ -136,7 +150,12 @@ public function view(EntityInterface $entity, $view_mode = 'full', $langcode = N
@@ -189,6 +208,9 @@ protected function getBuildDefaults(EntityInterface $entity, $view_mode) {
@@ -535,4 +557,68 @@ protected function getSingleFieldDisplay($entity, $field_name, $display_options)