diff --git a/core/lib/Drupal/Component/Render/MarkupInterface.php b/core/lib/Drupal/Component/Render/MarkupInterface.php index 37977a6864d..896e7ff9323 100644 --- a/core/lib/Drupal/Component/Render/MarkupInterface.php +++ b/core/lib/Drupal/Component/Render/MarkupInterface.php @@ -29,7 +29,7 @@ namespace Drupal\Component\Render; * @see sanitization * @see theme_render */ -interface MarkupInterface extends \JsonSerializable { +interface MarkupInterface extends \JsonSerializable, \Stringable { /** * Returns markup.