Returns the language configuration stored for an entity type and bundle.
string $entity_type: A string representing the entity type.
string $bundle: A string representing the bundle.
array An array with the following keys:
function language_get_default_configuration($entity_type, $bundle) {
$configuration = config('language.settings')
->get(language_get_default_configuration_settings_key($entity_type, $bundle));
if (is_null($configuration)) {
$configuration = array();
}
$configuration += array(
'langcode' => 'site_default',
'language_show' => FALSE,
);
return $configuration;
}