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

8.0.x
webchick 2013-10-17 22:51:26 -07:00
parent 14d3ae9ede
commit 68a2cfeb35
1 changed files with 0 additions and 2 deletions

View File

@ -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);