Add support for search/replace in BlockContent (and other?) entities

Created on 13 March 2021, over 3 years ago
Updated 20 May 2023, over 1 year ago

Problem/Motivation

Currently much of the logic is hardcoded to do search and replace in nodes. However, on sites using Layout Builder overrides extensively, much of their content is made up of blocks (reuseable or not) placed on nodes.

Proposed resolution

Add a BlockContent scanner plugin.

Remaining tasks

Write tests?

User interface changes

none

API changes

Plugins need to key their search() returns by entity_type:$id instead of just $id.

Data model changes

none

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States chrisfromredfin Portland, Maine

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

Merge Requests

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