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 @@ -29,7 +29,6 @@ * @see twig_render_template() * @see sanitization * @see theme_render - * */ class SafeMarkup { @@ -109,9 +108,8 @@ * A list of safe strings as previously retrieved by self::getAll(). * * @throws \UnexpectedValueException - * - * @internal should only be called by translate(), the batch api and the form cache - * + * + * @internal Should not be used in user code. */ public static function setMultiple(array $safe_strings) { foreach ($safe_strings as $string => $strategies) {