Problem/Motivation

Adds a submodule that implements hook_yoast_seo_entity_preview_alter() to replace Yoast's analyzed text with content from the custom elements pipeline — the same data the frontend renders.
Requires the alter hook patch from yoast_seo issue #3582651.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ciprian.stavovei created an issue. See original summary.

ciprian.stavovei’s picture

Status: Active » Needs review
StatusFileSize
new1.17 KB

Added a PR and also a patch.

ciprian.stavovei’s picture

StatusFileSize
new3.68 KB

Updated the patch to include the URL fix too.

fago’s picture

Status: Needs review » Needs work

I don't think this is how things should work. we have a decoupled frontend, so yoast needs to check what the frontend renders.