'comment_node_page',
'comment_node_story',
'comment_node_test_event',
'comment_node_test_page',
'comment_node_test_planet',
'comment_node_test_story',
'comment_forum',
'comment_node_event',
];
foreach ($not_translatable as $bundle) { $config = ContentLanguageSettings::
loadByEntityTypeBundle('comment',
$bundle);
$this->
assertTrue($config->
isDefaultConfiguration());
$this->
assertFalse($config->
isLanguageAlterable());
$this->
assertSame('site_default',
$config->
getDefaultLangcode(), "Default language is not 'site_default' for comment bundle
$bundle"
);
} }}