Problem/Motivation
In #3341682-11: New config schema data type: `required_label`, I discovered that setting translatable: true in a config schema has zero effect.
Turns out that only translatable: true on config schema types is allowed! That's how config_translation_config_schema_info_alter() works.
Steps to reproduce
Specify translatable: true for anything that isn't top-level in the schema, and observe it has no effect in the config translation UI!
Proposed resolution
Add validation for developers.
Remaining tasks
TBD
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
TBD
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3349656-2.patch | 1.65 KB | nitin shrivastava |
| #2 | 3349656-2.patch | 1.76 KB | wim leers |
Comments
Comment #2
wim leersThis should fail like so:
Comment #3
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #4
nitin shrivastava commentedTry to fix CCF error.
Comment #5
borisson_NR so the bot can look at #4.
Comment #6
borisson_#2 tells us that this should fail, but I can't find any of those errors in the output, is that because the fail patch is no longer there?
In any case, back to needs work for the todo in the code (making it recursive).