Skip to content

BeechCMS


BeechCMS / @beechcms/core / extractIndexableText

Function: extractIndexableText() ​

extractIndexableText(seed, entry): string | null

Extracts and concatenates text from all public indexable text/richtext branches of a seed. Enforces privacy policies by utilizing indexableSearchBranches.

Parameters ​

seed ​

Seed

The seed definition.

entry ​

Record<string, any>

The content entry record.

Returns ​

string | null

The combined text, or null if no indexable text exists.