public function testLanguageAlterable(ContentLanguageSettings
$config,
$expected) { $this->
assertSame($expected,
$config->
isLanguageAlterable());
} public function providerLanguageAlterable() { $alterableConfig =
new ContentLanguageSettings([ 'target_entity_type_id' => 'test_entity_type',
'target_bundle' => 'test_bundle',
], 'language_content_settings'
);
$alterableConfig->
setLanguageAlterable(TRUE
);
$nonAlterableConfig =
new ContentLanguageSettings([ 'target_entity_type_id' => 'test_entity_type',
'target_bundle' => 'test_fixed_language_bundle',
], 'language_content_settings'
);
$nonAlterableConfig->
setLanguageAlterable(FALSE
);
$defaultConfig =
new ContentLanguageSettings([ 'target_entity_type_id' => 'test_entity_type',
'target_bundle' => 'test_default_language_bundle',
], 'language_content_settings'
);