Needs work
Project:
Search and Replace Scanner
Version:
2.0.x-dev
Component:
Integration with other module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2026 at 10:38 UTC
Updated:
17 Jul 2026 at 12:24 UTC
Jump to comment: Most recent
Comments
Comment #3
dimitriskr commentedComment #4
damienmckennaThis is a great idea, thank you for your work on it so far.
The 2.0.x codebase has been refactored a lot recently so the MR will need to be redone.
Comment #5
dimitriskr commentedYes indeed, I see new and amazing things here!
I'll open a new branch/MR
Comment #6
dimitriskr commentedComment #10
dimitriskr commentedWith the new codebase, it's much better to extend field types! Amazing work
I've introduced getFieldColumns(), but I think we might not need it. It's still a WIP.
Comment #12
dimitriskr commentedI've seen some parts of the code that could be merged, and merged them ie in
Entity::replace()andEntity::search(), the way we replace the value is common.I think the
Entity::getFieldStringColumns()should stay, but it blocks other driver compatibility (Project page reports only mysql compatibility). You have a better experience in Drupal's API so if there is another place we can get the table structure of the field being driver-agnostic, we can replace it.Keeping it NW for the test
Comment #13
damienmckennaThis is great, thank you!
Should the "mysqlStringTypes" bit be abstracted out to make it easier for the module to support different database types? Right now it only works with MySQL, but I would like to expand it to other DBs later.
Comment #14
dimitriskr commentedI didn't find anything similar on other drivers like mysql's Schema::mysqlStringTypes property. There might be a query to retrieve the proper data types that represent strings so we can have something common there. We have to invent it
Comment #15
smustgrave commentedCould we expand the use case for wanting to replace alt + text?
Comment #16
dimitriskr commentedI am doing this already
Comment #17
smustgrave commentedThat’s not a use case though lol. Going to tag for summary update