Skip to content
Snippets Groups Projects
Commit 68a2cfeb authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2112303 by Gábor Hojtsy: Fixed Random extra text around translatability...

Issue #2112303 by Gábor Hojtsy: Fixed Random extra text around translatability configuration is confusing.
parent 14d3ae9e
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -90,7 +90,6 @@ function _content_translation_form_language_content_settings_form_alter(array &$
if ($fields) {
$form['settings'][$entity_type][$bundle]['translatable'] = array(
'#type' => 'checkbox',
'#title' => $bundle,
'#default_value' => content_translation_enabled($entity_type, $bundle),
);
......@@ -107,7 +106,6 @@ function _content_translation_form_language_content_settings_form_alter(array &$
$form['settings'][$entity_type][$bundle]['fields'][$field_name] = array(
'#label' => $instance->getFieldLabel(),
'#type' => 'checkbox',
'#title' => $instance->getFieldLabel(),
'#default_value' => $translatable,
);
$column_element = content_translation_field_sync_widget($instance);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment