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.
When saving the content type for content translation the submit callback that saves the config is not executed. This is due to the fact that the primary submit function is attached to the button and not to the form array.
Comments
Comment #1
e0ipsoFirst attempt. Co-author: @plopesc
Comment #2
Gábor HojtsyWow, hum! Good find. Thanks for the fix. Also good test coverage. Only some English language picks:
Remove "the" before "translation" to be better English :)
"disabled" => "not checked" (disabled checkboxes cannot be checked :)
Comment #3
e0ipsoUpdate comments.
Comment #4
e0ipsoComment #5
Gábor HojtsyLooks good. Expected to pass as it did before.
Comment #6
plach+1 to RTBC, thanks.
Comment #7
alexpottCommitted 34aaed6 and pushed to 8.x. Thanks!
Comment #9
Gábor HojtsyRemoving tag.