Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Right now, block configuration translation migrations are defined in content_translation
module. It seems to be obvious that they should be in config_translation
.
Proposed resolution
Move d6_block_translation
and d7_block_translation
into config_translation
module.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#12 | 3175729-12-9.1.5.patch | 1.92 KB | Wim Leers |
#4 | 3187263-4.patch | 2.58 KB | quietone |
#4 | interdiff-2-4.txt | 1.35 KB | quietone |
#2 | core-block_translation_migration_is_config_migration-3187263-2.patch | 666 bytes | huzooka |
Comments
Comment #2
huzookaComment #4
quietone CreditAttribution: quietone as a volunteer commentedHow did we all miss tha
Update the state files as needed and install the correct modules in the tests.
Comment #5
Wim Leers😄 Well there were lots of big patches in play!
Tests pass, and there's no BC impact because the migration definition IDs remain the same!
Comment #6
alexpottWell there is a BC impact because something is moving modules. But in order to have a config translation you need the module so I think that is moot.
One question should core/modules/content_translation/migrations/state/content_translation.migrate_drupal.yml be updated?
Comment #7
huzooka@alexpott, No, it shouldn't.
We use the same data source for migrating into block configs and block content entities. In Drupal 6/7, these where the same thing.
d*_custom_block_translation
migrations remains in content_translation.Comment #8
Wim LeersI believe #7 adequately answers #6 🤓
Comment #9
alexpottCommitted 77480be and pushed to 9.2.x. Thanks!
Only committing this to 9.2.x because it is minor and moving something from one module to another.
Comment #12
Wim LeersThese hunks already landed in
9.1.x
in #3175729: Mark i18n migrations as finished.Attached is a patch that applies cleanly to
9.1.5
.