diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 44279f6..5150092 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -46,10 +46,10 @@ function system_requirements($phase) { // If the profile isn't installed properly then install it. if (empty($info)) { - \Drupal::service('module_installer')->install(array($profile), FALSE); + \Drupal::service('module_installer')->install([$profile], FALSE); $info = system_get_info('module', $profile); } - + $requirements['install_profile'] = [ 'title' => t('Installation profile'), 'value' => t('%profile_name (%profile-%version)', [