'#value'=>t('A security update is available for your version of Drupal.'),
];
if($not_recommended_version&&$not_dev_core){
if($security_update){
$form['experimental']['security']=[
'#type'=>'html_tag',
'#tag'=>'p',
'#value'=>t('A security update is available for your version of Drupal.'),
];
}
if($major_upgrade){
$form['experimental']['major_version']=[
'#type'=>'html_tag',
'#tag'=>'p',
'#value'=>t('This update is a major version update which means that it may not be backwards compatible with your currently running version. It is recommended that you read the release notes and proceed at your own risk.'),
];
}
}
$update_text=t('Your site is running %version of Drupal core. No recommended update is available at this time.',['%version'=>VERSION]);