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.
hook_config_translation_info
and hook_config_translation_info_alter()
reference *.configuration_translation.yml
files, but the file name format should be *.config_translation.yml
. This is a minor documentation bug that may confuse some people.
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal_2140803_1.patch | 1.36 KB | Xano |
Comments
Comment #1
XanoComment #2
jhodgdonThis does not look correct to me.
I'm seeing files with names like config_translation.local_tasks.yml, config_translation.routing.yml, etc. They are not *.config_translation.yml. Or am I missing something?
Oh, I see, those are the ones in config_translation module. Then there is system.config_translation.yml.
What's the difference, and why are the naming conventions different?
Comment #3
Xanoconfig_translation.local_tasks.yml
is a*.local_tasks.yml
file, and that type is defined by other parts of core.*.config_translation.yml
is a type of file defined by config_translation that can be implemented by other modules. However, that's not the problem. The problem is that there is no configuration_translation, but we only ever use config_translation.Comment #4
jhodgdonGot it. Patch looks fine and I'll get it committed sometime soon.
Comment #5
webchickLooking for easy pickin's tonight, so yoink! :)
Committed and pushed to 8.x. Thanks!
Comment #6
Gábor Hojtsygood catch, thanks!