Commit f312afbe authored by catch's avatar catch
Browse files

Issue #2682339 by chx: EntityFieldRenderer breaks embedding in forms

parent adaad5f5
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
namespace Drupal\views\Entity\Render; namespace Drupal\views\Entity\Render;
use Drupal\Core\DependencyInjection\DependencySerializationTrait;
use Drupal\Core\Entity\Entity\EntityViewDisplay; use Drupal\Core\Entity\Entity\EntityViewDisplay;
use Drupal\Core\Entity\EntityManagerInterface; use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\Core\Entity\EntityTypeInterface; use Drupal\Core\Entity\EntityTypeInterface;
...@@ -25,6 +26,7 @@ ...@@ -25,6 +26,7 @@
*/ */
class EntityFieldRenderer extends RendererBase { class EntityFieldRenderer extends RendererBase {
use EntityTranslationRenderTrait; use EntityTranslationRenderTrait;
use DependencySerializationTrait;
/** /**
* The relationship being handled. * The relationship being handled.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment