Issue #2196901 by divesh.kumar, longwave: Convert all calls & docs references...
Issue #2196901 by divesh.kumar, longwave: Convert all calls & docs references to check_plain() in core to Drupal\Component\Utility\String::checkPlain() in language module.
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
$this->setFormError('langcode',$form_state,$this->t('%field may only contain characters a-z, underscores, or hyphens.',array('%field'=>$form['langcode']['#title'])));