diff -u b/core/lib/Drupal/Component/Utility/SafeMarkup.php b/core/lib/Drupal/Component/Utility/SafeMarkup.php --- b/core/lib/Drupal/Component/Utility/SafeMarkup.php +++ b/core/lib/Drupal/Component/Utility/SafeMarkup.php @@ -109,7 +109,9 @@ * * @throws \UnexpectedValueException * - * @internal Should not be used in user code. + * @internal Called by \Drupal\Core\Form\FormCache, + * \Drupal\Core\StringTranslation, and the Batch API. + * Should not be used in user code. */ public static function setMultiple(array $safe_strings) { foreach ($safe_strings as $string => $strategies) {