Returns a language object representing the site's default language.
Drupal\Core\Language\Language A language object.
protected function getLanguageDefault() {
$default_info = variable_get('language_default', array(
'langcode' => 'en',
'name' => 'English',
'direction' => 0,
'weight' => 0,
'locked' => 0,
));
return new Language($default_info + array(
'default' => TRUE,
));
}