Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
HTMLRestrictionsTest::testSubsets function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::getWildcardSubset[[api-linebreak]]
@covers ::getConcreteSubset[[api-linebreak]]
@covers ::getPlainTagsSubset[[api-linebreak]]
@covers ::extractPlainTagsSubset[[api-linebreak]]
@dataProvider providerSubsets
HtmlSerializerRules class core/lib/Drupal/Component/Utility/HtmlSerializerRules.php Drupal-specific HTML5 serializer rules.
HtmlSerializerRules.php file core/lib/Drupal/Component/Utility/HtmlSerializerRules.php
HtmlSerializerRules::escape function core/lib/Drupal/Component/Utility/HtmlSerializerRules.php
HtmlTag class core/lib/Drupal/Core/Render/Element/HtmlTag.php Provides a render element for any HTML tag, with properties and value.
HtmlTag.php file core/lib/Drupal/Core/Render/Element/HtmlTag.php
HtmlTag::$voidElements property core/lib/Drupal/Core/Render/Element/HtmlTag.php Void elements do not contain values or closing tags.
HtmlTag::getInfo function core/lib/Drupal/Core/Render/Element/HtmlTag.php Returns the element properties for this element.
HtmlTag::preRenderHtmlTag function core/lib/Drupal/Core/Render/Element/HtmlTag.php Pre-render callback: Renders a generic HTML tag with attributes.
HtmlTagTest class core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @coversDefaultClass \Drupal\Core\Render\Element\HtmlTag[[api-linebreak]]
@group Render
HtmlTagTest.php file core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php
HtmlTagTest::providerPreRenderHtmlTag function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php Data provider for preRenderHtmlTag test.
HtmlTagTest::testGetInfo function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @covers ::getInfo[[api-linebreak]]
HtmlTagTest::testPreRenderHtmlTag function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @covers ::preRenderHtmlTag[[api-linebreak]]
@dataProvider providerPreRenderHtmlTag
HtmlTest class core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests \Drupal\Component\Utility\Html.
HtmlTest.php file core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
HtmlTest::providerDecodeEntities function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Data provider for testDecodeEntities().
HtmlTest::providerEscape function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Data provider for testEscape().
HtmlTest::providerTestCleanCssIdentifier function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Provides test data for testCleanCssIdentifier().
HtmlTest::providerTestHtmlGetId function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Provides test data for testHtmlGetId().
HtmlTest::providerTestHtmlGetUniqueId function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Provides test data for testHtmlGetId().
HtmlTest::providerTestHtmlGetUniqueIdWithAjaxIds function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Provides test data for testHtmlGetId().
HtmlTest::providerTestTransformRootRelativeUrlsToAbsolute function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Provides test data for testTransformRootRelativeUrlsToAbsolute().
HtmlTest::providerTestTransformRootRelativeUrlsToAbsoluteAssertion function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Provides test data for testTransformRootRelativeUrlsToAbsoluteAssertion().
HtmlTest::setUp function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
HtmlTest::testCleanCssIdentifier function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests the Html::cleanCssIdentifier() method.
HtmlTest::testDecodeEntities function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests Html::decodeEntities().
HtmlTest::testDecodeEntitiesAndEscape function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests relationship between escaping and decoding HTML entities.
HtmlTest::testDeprecations function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Test deprecations.
HtmlTest::testEscape function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests Html::escape().
HtmlTest::testHtmlClass function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests that Html::getClass() cleans the class name properly.
HtmlTest::testHtmlGetId function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests the Html::getUniqueId() method.
HtmlTest::testHtmlGetUniqueId function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests the Html::getUniqueId() method.
HtmlTest::testHtmlGetUniqueIdWithAjaxIds function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests the Html::getUniqueId() method.
HtmlTest::testSerialize function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests Html::serialize().
HtmlTest::testTransformRootRelativeUrlsToAbsolute function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @covers ::transformRootRelativeUrlsToAbsolute[[api-linebreak]]
@dataProvider providerTestTransformRootRelativeUrlsToAbsolute
HtmlTest::testTransformRootRelativeUrlsToAbsoluteAssertion function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php @covers ::transformRootRelativeUrlsToAbsolute[[api-linebreak]]
@dataProvider providerTestTransformRootRelativeUrlsToAbsoluteAssertion
HtmlTestMarkup class core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Marks an object's __toString() method as returning markup.
HtmlToTextTest class core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests for \Drupal\Core\Mail\MailFormatHelper::htmlToText().
HtmlToTextTest.php file core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php
HtmlToTextTest::assertHtmlToText function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Helper function to test \Drupal\Core\Mail\MailFormatHelper::htmlToText().
HtmlToTextTest::setUp function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php
HtmlToTextTest::stringToHtml function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Converts a string to its PHP source equivalent for display in test messages.
HtmlToTextTest::testDrupalHtmlToTextArgs function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests allowing tags in \Drupal\Core\Mail\MailFormatHelper::htmlToText().
HtmlToTextTest::testDrupalHtmlToTextBlockTagToNewline function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests the conversion of block-level HTML tags to plaintext with newlines.
HtmlToTextTest::testDrupalHtmlToTextCollapsesWhitespace function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests that whitespace is collapsed.
HtmlToTextTest::testDrupalHtmlToTextParagraphs function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests the plaintext conversion of different whitespace combinations.
HtmlToTextTest::testFootnoteReferences function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests that footnote references are properly generated.
HtmlToTextTest::testHeaderSeparation function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests that headers are properly separated from surrounding text.
HtmlToTextTest::testRemoveTrailingWhitespace function core/modules/system/tests/src/Unit/Mail/HtmlToTextTest.php Tests that trailing whitespace is removed before newlines.

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