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\SerializeContentFieldCode
public function __construct(EntityTypeManagerInterface $entityTypeManager) {
$this->entityTypeManager = $entityTypeManager;
}