diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 8655fd1348..39fb415113 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -809,7 +809,7 @@ function install_tasks($install_state) { // instance of the same site should be installed from the given // configuration. // That means we need to remove the steps installing the extensions and - // replace them with a configuration synchronisation step. + // replace them with a configuration synchronization step. unset($tasks['install_download_translation']); $key = array_search('install_profile_modules', array_keys($tasks), TRUE); unset($tasks['install_profile_modules']); @@ -2280,7 +2280,7 @@ function install_config_import_batch() { // Get the sync storage. $sync = \Drupal::service('config.storage.sync'); - // Match up the site uuids, the install_base_system install task will have + // Match up the site UUIDs, the install_base_system install task will have // installed the system module and created a new UUID. $system_site = $sync->read('system.site'); \Drupal::configFactory()->getEditable('system.site')->set('uuid', $system_site['uuid'])->save(); @@ -2336,7 +2336,7 @@ function install_config_import_batch() { * @param \Drupal\Core\Config\ConfigImporter $config_importer * The batch config importer object to persist. * @param string $sync_step - * The synchronisation step to do. + * The synchronization step to do. * @param $context * The batch context. * diff --git a/core/includes/install.inc b/core/includes/install.inc index 5f9ded0b7b..e2216148da 100644 --- a/core/includes/install.inc +++ b/core/includes/install.inc @@ -1093,7 +1093,7 @@ function install_profile_info($profile, $langcode = 'en') { 'config_install_path' => NULL, ]; $profile_path = drupal_get_path('profile', $profile); - $info = \Drupal::service('info_parser')->parse($profile_path . "/$profile.info.yml"); + $info = \Drupal::service('info_parser')->parse("$profile_path/$profile.info.yml"); $info += $defaults; // drupal_required_modules() includes the current profile as a dependency.