Search for html

  1. Search 7.x for html
  2. Search 8.9.x for html
  3. Search 10.3.x for html
  4. Search 11.x for html
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Html class core/lib/Drupal/Core/Render/Element/Html.php Provides a render element for an entire HTML page: <html> plus its children.
Html class core/lib/Drupal/Component/Utility/Html.php Provides DOMDocument helpers for parsing and serializing HTML strings.

All search results

Title Object type File name Summary
HTMLRestrictions::intersect function core/modules/ckeditor5/src/HTMLRestrictions.php Computes intersection of two HTML restrictions, with wildcard support.
HTMLRestrictions::isUnrestricted function core/modules/ckeditor5/src/HTMLRestrictions.php Whether this set of HTML restrictions is unrestricted.
HTMLRestrictions::isWildcardAttributeName function core/modules/ckeditor5/src/HTMLRestrictions.php Checks whether the given attribute name contains a wildcard, e.g. `data-*`.
HTMLRestrictions::isWildcardTag function core/modules/ckeditor5/src/HTMLRestrictions.php Checks whether given tag is a wildcard.
HTMLRestrictions::merge function core/modules/ckeditor5/src/HTMLRestrictions.php Computes set union of two HTML restrictions, with wildcard support.
HTMLRestrictions::mergeAllowedElementsLevel function core/modules/ckeditor5/src/HTMLRestrictions.php Merge arrays of allowed elements according to HTMLRestrictions rules.
HTMLRestrictions::resolveWildcards function core/modules/ckeditor5/src/HTMLRestrictions.php Resolves the wildcard tags (this consumes the wildcard tags).
HTMLRestrictions::toCKEditor5ElementsArray function core/modules/ckeditor5/src/HTMLRestrictions.php Transforms into the CKEditor 5 package metadata &quot;elements&quot; representation.
HTMLRestrictions::toFilterHtmlAllowedTagsString function core/modules/ckeditor5/src/HTMLRestrictions.php Transforms into the Drupal HTML filter&#039;s &quot;allowed_html&quot; representation.
HTMLRestrictions::toGeneralHtmlSupportConfig function core/modules/ckeditor5/src/HTMLRestrictions.php Transforms into the CKEditor 5 GHS configuration representation.
HTMLRestrictions::unrestricted function core/modules/ckeditor5/src/HTMLRestrictions.php Constructs an unrestricted set of HTML restrictions.
HTMLRestrictions::validateAllowedRestrictionsPhase1 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 1: shape of keys.
HTMLRestrictions::validateAllowedRestrictionsPhase2 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 2: shape of values.
HTMLRestrictions::validateAllowedRestrictionsPhase3 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 3: HTML tag attribute restriction keys.
HTMLRestrictions::validateAllowedRestrictionsPhase4 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 4: HTML tag attr restriction values.
HTMLRestrictions::validateAllowedRestrictionsPhase5 function core/modules/ckeditor5/src/HTMLRestrictions.php Validates allowed elements — phase 5: disallowed attribute overrides.
HTMLRestrictions::WILDCARD_ELEMENT_METHODS constant core/modules/ckeditor5/src/HTMLRestrictions.php Wildcard types, and the methods that return tags the wildcard represents.
HTMLRestrictions::__construct function core/modules/ckeditor5/src/HTMLRestrictions.php Constructs a set of HTML restrictions.
HTMLRestrictionsTest class core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @coversDefaultClass \Drupal\ckeditor5\HTMLRestrictions
@group ckeditor5
HTMLRestrictionsTest.php file core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
HTMLRestrictionsTest::providerConstruct function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
HTMLRestrictionsTest::providerConvenienceConstructors function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
HTMLRestrictionsTest::providerCounting function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
HTMLRestrictionsTest::providerOperands function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
HTMLRestrictionsTest::providerRepresentations function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
HTMLRestrictionsTest::providerSubsets function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
HTMLRestrictionsTest::testConstructor function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::__construct
@dataProvider providerConstruct
HTMLRestrictionsTest::testConvenienceConstructors function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::fromString()
@covers ::fromTextFormat()
@covers ::fromFilterPluginInstance()
@dataProvider providerConvenienceConstructors
HTMLRestrictionsTest::testCounting function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::allowsNothing()
@covers ::getAllowedElements()
@dataProvider providerCounting
HTMLRestrictionsTest::testOperations function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::diff()
@covers ::intersect()
@covers ::merge()
@dataProvider providerOperands
HTMLRestrictionsTest::testRepresentations function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::toCKEditor5ElementsArray()
@covers ::toFilterHtmlAllowedTagsString()
@covers ::toGeneralHtmlSupportConfig()
@dataProvider providerRepresentations
HTMLRestrictionsTest::testSubsets function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::getWildcardSubset
@covers ::getConcreteSubset
@covers ::getPlainTagsSubset()
@covers ::extractPlainTagsSubset()
@dataProvider providerSubsets
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::preRenderConditionalComments function core/lib/Drupal/Core/Render/Element/HtmlTag.php Pre-render callback: Renders #browsers into #prefix and #suffix.
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
@group Render
HtmlTagTest.php file core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php
HtmlTagTest::providerPreRenderConditionalComments function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php Data provider for conditional comments test.
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
HtmlTagTest::testPreRenderConditionalComments function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @group legacy
@covers ::preRenderConditionalComments
@dataProvider providerPreRenderConditionalComments
HtmlTagTest::testPreRenderHtmlTag function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @covers ::preRenderHtmlTag
@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().

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