18 calls to Html::load() in Drupal 9
- CKEditorIntegrationTest::getDrupalMediaFromSource in core/
modules/ media/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - Parses the <drupal-media> element from CKEditor's "source" view.
- CKEditorIntegrationTest::testButton in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - Tests using DrupalMediaLibrary button to embed media into CKEditor.
- CKEditorIntegrationTest::testEditableCaption in core/
modules/ media/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - Tests caption editing in the CKEditor widget.
- 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.
- FilterCaption::process in core/
modules/ filter/ src/ Plugin/ Filter/ FilterCaption.php - Performs the filter processing.
- FilterHtml::filterAttributes in core/
modules/ filter/ src/ Plugin/ Filter/ FilterHtml.php - Provides filtering of tag attributes into accepted HTML.
- 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.
- 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
- 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.