You are here

public function LayoutBuilderFieldSerializer::__construct in Acquia Content Hub 8.2

LayoutBuilderFieldSerializer constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

File

src/EventSubscriber/SerializeContentField/LayoutBuilderFieldSerializer.php, line 34

Class

LayoutBuilderFieldSerializer
Subscribes to entity field serialization to handle layout builder fields.

Namespace

Drupal\acquia_contenthub\EventSubscriber\SerializeContentField

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
}