diff --git a/core/lib/Drupal/Component/Utility/SafeStringInterface.php b/core/lib/Drupal/Component/Utility/SafeStringInterface.php index 2e2bb66..136dd37 100644 --- a/core/lib/Drupal/Component/Utility/SafeStringInterface.php +++ b/core/lib/Drupal/Component/Utility/SafeStringInterface.php @@ -10,7 +10,7 @@ /** * Marks an object's __toString() method as returning safe markup. * - * All objects that implement this interface marked @internal. + * All objects that implement this interface should be marked @internal. * * This interface should only be used on objects that emit known safe strings * from their __toString() method. If there is any risk of the method returning @@ -24,10 +24,11 @@ * objects used during rendering. This interface should be used by modules if * they interrupt the render pipeline and explicitly deal with SafeString * objects created by the render system. Additionally, if a module reuses the - * regular render pipeline internally and passes processed data - * into it. For example, Views implements a custom render pipeline in order to - * render JSON and to fast render fields. + * regular render pipeline internally and passes processed data into it. For + * example, Views implements a custom render pipeline in order to render JSON + * and to fast render fields. * + * @see \Drupal\Component\Utility\SafeStringTrait * @see \Drupal\Component\Utility\SafeMarkup::set() * @see \Drupal\Component\Utility\SafeMarkup::isSafe() * @see \Drupal\Core\Template\TwigExtension::escapeFilter()