12 calls to Html::serialize()

EditorFileReference::process in core/modules/editor/src/Plugin/Filter/EditorFileReference.php
FilterAlign::process in core/modules/filter/src/Plugin/Filter/FilterAlign.php
FilterHtml::filterAttributes in core/modules/filter/src/Plugin/Filter/FilterHtml.php
Provides filtering of tag attributes into accepted HTML.
FilterImageLazyLoad::transformImages in core/modules/filter/src/Plugin/Filter/FilterImageLazyLoad.php
Transform markup of images to include loading="lazy".
Html::normalize in core/lib/Drupal/Component/Utility/Html.php
Normalizes an HTML snippet.
Html::transformRootRelativeUrlsToAbsolute in core/lib/Drupal/Component/Utility/Html.php
Converts all root-relative URLs to absolute URLs.
HtmlTest::testSerialize in core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
Tests Html::serialize().
MediaEmbed::process in core/modules/media/src/Plugin/Filter/MediaEmbed.php
MediaEmbedFilterTestBase::createEmbedCode in core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php
Gets an embed code with given attributes.
PlaceholderGeneratorTest::testCreatePlaceholderGeneratesValidHtmlMarkup in core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php
Ensure that the generated placeholder markup is valid.
Standard::filterXssDataAttributes in core/modules/editor/src/EditorXssFilter/Standard.php
Applies a very permissive XSS/HTML filter to data-attributes.
_filter_html_image_secure_process in core/modules/filter/filter.module
Process callback for local image filter.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.