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
In ConfigTranslateForm.php we support only the first config name for now ($id = $mapper->getConfigNames()[0]). This should be extended for more config names.
Proposed resolution
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#6 | support_more_than_one-2449505-6-interdiff.txt | 3.98 KB | sasanikolic |
#6 | support_more_than_one-2449505-6.patch | 5.54 KB | sasanikolic |
#1 | support_more_than_one-2449505-1.patch | 7.64 KB | sasanikolic |
Comments
Comment #1
sasanikolic CreditAttribution: sasanikolic at MD Systems GmbH commentedAdded the source and unit tests.
Comment #4
BerdirHm, I'd say a single test is enough, we don't need to repeat single/multiple languages.
you can remove this.
You can use . to simplify this, get('status_canceled.body').
Tests look good, though.
Comment #6
sasanikolic CreditAttribution: sasanikolic at MD Systems GmbH commentedRemoved the test "testMoreConfigNamesTranslateTabMultipeCheckout" and the other stuff.
Comment #9
miro_dietikerI only see tests here, how does it change supporting more than one config name?