12 calls to Html::serialize()
- EditorFileReference::process in core/
modules/ editor/ src/ Plugin/ Filter/ EditorFileReference.php - Performs the filter processing.
- FilterAlign::process in core/
modules/ filter/ src/ Plugin/ Filter/ FilterAlign.php - Performs the filter processing.
- 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 - Performs the filter processing.
- 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 - @covers ::createPlaceholder @dataProvider providerCreatePlaceholderGeneratesValidHtmlMarkup
- 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.