How does the content hub exporter render entities?

Created on 3 March 2021, almost 4 years ago
Updated 26 February 2023, almost 2 years ago

Problem/Motivation

How does the content hub exporter render entities?

When investigating the logic, I see ContentHubExportQueueBase::processItem() calls to ContentEntityCdfNormalizer::normalize() using the acquia_contenthub_cdf, but I haven't been parse out or inspect the actual $ch_entity before its decoded, prepared for export by $exported_entity['entities'][$key] = Json::decode($ch_entity->json());.

Does the exported entity get rendered by Drupal somewhere within ContentEntityCdfNormalizer::normalize()?

If a site uses contrib or custom module or theme preprocessors to manipulate a rendered entity; are these invoked as part of the Content Hub Export process? If so, where? If not, how can we manipulate (e.g. add classes or data attributes) exported entity that used by Acquia Personalization (Lift) when changing content within slots?

πŸ’¬ Support request
Status

Closed: outdated

Version

1.48

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States jasonawant New Orleans, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024