2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
// #markup is XSS admin filtered which ensures unsafe protocols will be
// removed from the url.
'#markup'=>'<p>Translations will be downloaded from the <a href="http://localize.drupal.org">Drupal Translation website</a>. If you do not want this, select <a href="'.$link_to_english.'">English</a>.</p>',
'#states'=>array(
'invisible'=>array(
'select[name="langcode"]'=>array('value'=>'en'),
...
...
@@ -83,7 +85,7 @@ public function buildForm(array $form, FormStateInterface $form_state, $install_