It's a very easy data structure to support, and I wanted to quickly migrate variables from D5/6 using migrate_d2d. Requires #2256761: Add a destination handler for variables in Migrate module.

CommentFileSizeAuthor
#1 2256765-migrate-d2d-variable.patch2.02 KBdave reid

Comments

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new2.02 KB
dave reid’s picture

mikeryan’s picture

Status: Needs review » Needs work

Is the idea that your concrete class would override query() to add a condition limiting it to the desired variables?

prepareRow() is doing nothing and can be omitted.

Thanks.

dave reid’s picture

In our use case the implementing class used prepareRow() to return FALSE on the variables it didn't care about. Or it could override query I guess.

mikeryan’s picture

Status: Needs work » Fixed

Committed (minus the null-op prepareRow), thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.