22 calls to Html::load() in Drupal 10
- CKEditor5TestTrait::getEditorDataAsDom in core/
modules/ ckeditor5/ tests/ src/ Traits/ CKEditor5TestTrait.php - Gets CKEditor 5 instance data as a PHP DOMDocument.
- EditorFileReference::process in core/
modules/ editor/ src/ Plugin/ Filter/ EditorFileReference.php - FilterAlign::process in core/
modules/ filter/ src/ Plugin/ Filter/ FilterAlign.php - FilterCaption::process in core/
modules/ filter/ src/ Plugin/ Filter/ FilterCaption.php - FilterHtml::filterAttributes in core/
modules/ filter/ src/ Plugin/ Filter/ FilterHtml.php - Provides filtering of tag attributes into accepted HTML.
- FilterHtml::getHTMLRestrictions in core/
modules/ filter/ src/ Plugin/ Filter/ FilterHtml.php - Html::transformRootRelativeUrlsToAbsolute in core/
lib/ Drupal/ Component/ Utility/ Html.php - Converts all root-relative URLs to absolute URLs.
- ImageTest::testAttributeRetentionDuringUpcasting in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTest.php - Ensures that attributes are retained on conversion.
- Internal::generateFormatTagsSetting in core/
modules/ ckeditor/ src/ Plugin/ CKEditorPlugin/ Internal.php - Builds the "format_tags" configuration part of the CKEditor JS settings.
- MediaEmbed::process in core/
modules/ media/ src/ Plugin/ Filter/ MediaEmbed.php - MediaEmbed::replaceNodeContent in core/
modules/ media/ src/ Plugin/ Filter/ MediaEmbed.php - Replaces the contents of a DOMNode.
- MediaEmbedFilterTestBase::createEmbedCode in core/
modules/ media/ tests/ src/ Kernel/ MediaEmbedFilterTestBase.php - Gets an embed code with given attributes.
- MediaLibraryTest::testButton in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaLibraryTest.php - Tests using DrupalMediaLibrary button to embed media into CKEditor.
- MediaTest::getDrupalMediaFromSource in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Parses the <drupal-media> element from CKEditor's "source" view.
- MediaTest::testEditableCaption in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests caption editing in the CKEditor widget.
- PlaceholderGeneratorTest::testCreatePlaceholderGeneratesValidHtmlMarkup in core/
tests/ Drupal/ Tests/ Core/ Render/ PlaceholderGeneratorTest.php - @covers ::createPlaceholder @dataProvider providerCreatePlaceholderGeneratesValidHtmlMarkup
- RendererPlaceholdersTest::testRenderChildrenPlaceholdersDifferentArguments in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - Create an element with a child and subchild. Each element has the same #lazy_builder callback, but with different contexts. They don't modify markup, only attach additional drupalSettings.
- Standard::filterXssDataAttributes in core/
modules/ editor/ src/ EditorXssFilter/ Standard.php - Applies a very permissive XSS/HTML filter to data-attributes.
- TestAttributeFilter::process in core/
modules/ ckeditor/ tests/ modules/ src/ Plugin/ Filter/ TestAttributeFilter.php - Performs the filter processing.
- UrlResolver::discoverResourceUrl in core/
modules/ media/ src/ OEmbed/ UrlResolver.php - Runs oEmbed discovery and returns the endpoint URL if successful.
- _editor_parse_file_uuids in core/
modules/ editor/ editor.module - Parse an HTML snippet for any linked file with data-entity-uuid attributes.
- _filter_html_image_secure_process in core/
modules/ filter/ filter.module - Process callback for local image filter.