Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
@ -1580,7 +1580,7 @@ function install_download_additional_translations_operations(&$install_state) {
|
|||
\Drupal::moduleHandler()->loadInclude('locale', 'bulk.inc');
|
||||
|
||||
$langcode = $install_state['parameters']['langcode'];
|
||||
if (!($language = entity_load('configurable_language', $langcode))) {
|
||||
if (!($language = ConfigurableLanguage::load($langcode))) {
|
||||
// Create the language if not already shipped with a profile.
|
||||
$language = ConfigurableLanguage::createFromLangcode($langcode);
|
||||
}
|
||||
|
|
Reference in a new issue