diff -u b/core/modules/system/system.install b/core/modules/system/system.install --- b/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -439,22 +439,25 @@ 'value' => $summary, ); if ($severity != REQUIREMENT_INFO) { - $requirements['cron']['description'][] = ['#markup' => t('Cron has not run recently.'), '#weight' => 0]; $requirements['cron']['description'][] = [ - '#prefix' => ' ', - '#markup' => t('For more information, see the online handbook entry for configuring cron jobs.', ['@cron-handbook' => 'https://www.drupal.org/cron']), - '#suffix' => ' ', - '#weight' => 1, + [ + '#markup' => t('Cron has not run recently.'), + '#suffix' => ' ', + ], + [ + '#markup' => t('For more information, see the online handbook entry for configuring cron jobs.', ['@cron-handbook' => 'https://www.drupal.org/cron']), + '#suffix' => ' ', + ], ]; } $requirements['cron']['description'][] = [ - '#markup' => t('You can run cron manually.', ['@cron' => \Drupal::url('system.run_cron')]), - '#weight' => 2, - ]; - $requirements['cron']['description'][] = [ - '#prefix' => '
', - '#markup' => t('To run cron from outside the site, go to @cron', ['@cron' => \Drupal::url('system.cron', ['key' => \Drupal::state()->get('system.cron_key'), ['absolute' => TRUE]])]), - '#weight' => 3, + [ + '#markup' => t('You can run cron manually.', ['@cron' => \Drupal::url('system.run_cron')]), + ], + [ + '#prefix' => '
', + '#markup' => t('To run cron from outside the site, go to @cron', ['@cron' => \Drupal::url('system.cron', ['key' => \Drupal::state()->get('system.cron_key'), ['absolute' => TRUE]])]), + ], ]; } if ($phase != 'install') {