Search for html
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Html | class | core/ |
Provides a render element for an entire HTML page: <html> plus its children. |
Html | class | core/ |
Provides DOMDocument helpers for parsing and serializing HTML strings. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
HTMLRestrictions::intersect | function | core/ |
Computes intersection of two HTML restrictions, with wildcard support. |
HTMLRestrictions::isUnrestricted | function | core/ |
Whether this set of HTML restrictions is unrestricted. |
HTMLRestrictions::isWildcardAttributeName | function | core/ |
Checks whether the given attribute name contains a wildcard, e.g. `data-*`. |
HTMLRestrictions::isWildcardTag | function | core/ |
Checks whether given tag is a wildcard. |
HTMLRestrictions::merge | function | core/ |
Computes set union of two HTML restrictions, with wildcard support. |
HTMLRestrictions::mergeAllowedElementsLevel | function | core/ |
Merge arrays of allowed elements according to HTMLRestrictions rules. |
HTMLRestrictions::resolveWildcards | function | core/ |
Resolves the wildcard tags (this consumes the wildcard tags). |
HTMLRestrictions::toCKEditor5ElementsArray | function | core/ |
Transforms into the CKEditor 5 package metadata "elements" representation. |
HTMLRestrictions::toFilterHtmlAllowedTagsString | function | core/ |
Transforms into the Drupal HTML filter's "allowed_html" representation. |
HTMLRestrictions::toGeneralHtmlSupportConfig | function | core/ |
Transforms into the CKEditor 5 GHS configuration representation. |
HTMLRestrictions::unrestricted | function | core/ |
Constructs an unrestricted set of HTML restrictions. |
HTMLRestrictions::validateAllowedRestrictionsPhase1 | function | core/ |
Validates allowed elements — phase 1: shape of keys. |
HTMLRestrictions::validateAllowedRestrictionsPhase2 | function | core/ |
Validates allowed elements — phase 2: shape of values. |
HTMLRestrictions::validateAllowedRestrictionsPhase3 | function | core/ |
Validates allowed elements — phase 3: HTML tag attribute restriction keys. |
HTMLRestrictions::validateAllowedRestrictionsPhase4 | function | core/ |
Validates allowed elements — phase 4: HTML tag attr restriction values. |
HTMLRestrictions::validateAllowedRestrictionsPhase5 | function | core/ |
Validates allowed elements — phase 5: disallowed attribute overrides. |
HTMLRestrictions::WILDCARD_ELEMENT_METHODS | constant | core/ |
Wildcard types, and the methods that return tags the wildcard represents. |
HTMLRestrictions::__construct | function | core/ |
Constructs a set of HTML restrictions. |
HTMLRestrictionsTest | class | core/ |
@coversDefaultClass \Drupal\ckeditor5\HTMLRestrictions @group ckeditor5 |
HTMLRestrictionsTest.php | file | core/ |
|
HTMLRestrictionsTest::providerConstruct | function | core/ |
|
HTMLRestrictionsTest::providerConvenienceConstructors | function | core/ |
|
HTMLRestrictionsTest::providerCounting | function | core/ |
|
HTMLRestrictionsTest::providerOperands | function | core/ |
|
HTMLRestrictionsTest::providerRepresentations | function | core/ |
|
HTMLRestrictionsTest::providerSubsets | function | core/ |
|
HTMLRestrictionsTest::testConstructor | function | core/ |
@covers ::__construct @dataProvider providerConstruct |
HTMLRestrictionsTest::testConvenienceConstructors | function | core/ |
@covers ::fromString() @covers ::fromTextFormat() @covers ::fromFilterPluginInstance() @dataProvider providerConvenienceConstructors |
HTMLRestrictionsTest::testCounting | function | core/ |
@covers ::allowsNothing() @covers ::getAllowedElements() @dataProvider providerCounting |
HTMLRestrictionsTest::testOperations | function | core/ |
@covers ::diff() @covers ::intersect() @covers ::merge() @dataProvider providerOperands |
HTMLRestrictionsTest::testRepresentations | function | core/ |
@covers ::toCKEditor5ElementsArray() @covers ::toFilterHtmlAllowedTagsString() @covers ::toGeneralHtmlSupportConfig() @dataProvider providerRepresentations |
HTMLRestrictionsTest::testSubsets | function | core/ |
@covers ::getWildcardSubset @covers ::getConcreteSubset @covers ::getPlainTagsSubset() @covers ::extractPlainTagsSubset() @dataProvider providerSubsets |
HtmlTag | class | core/ |
Provides a render element for any HTML tag, with properties and value. |
HtmlTag.php | file | core/ |
|
HtmlTag::$voidElements | property | core/ |
Void elements do not contain values or closing tags. |
HtmlTag::getInfo | function | core/ |
Returns the element properties for this element. |
HtmlTag::preRenderConditionalComments | function | core/ |
Pre-render callback: Renders #browsers into #prefix and #suffix. |
HtmlTag::preRenderHtmlTag | function | core/ |
Pre-render callback: Renders a generic HTML tag with attributes. |
HtmlTagTest | class | core/ |
@coversDefaultClass \Drupal\Core\Render\Element\HtmlTag @group Render |
HtmlTagTest.php | file | core/ |
|
HtmlTagTest::providerPreRenderConditionalComments | function | core/ |
Data provider for conditional comments test. |
HtmlTagTest::providerPreRenderHtmlTag | function | core/ |
Data provider for preRenderHtmlTag test. |
HtmlTagTest::testGetInfo | function | core/ |
@covers ::getInfo |
HtmlTagTest::testPreRenderConditionalComments | function | core/ |
@group legacy @covers ::preRenderConditionalComments @dataProvider providerPreRenderConditionalComments |
HtmlTagTest::testPreRenderHtmlTag | function | core/ |
@covers ::preRenderHtmlTag @dataProvider providerPreRenderHtmlTag |
HtmlTest | class | core/ |
Tests \Drupal\Component\Utility\Html. |
HtmlTest.php | file | core/ |
|
HtmlTest::providerDecodeEntities | function | core/ |
Data provider for testDecodeEntities(). |
HtmlTest::providerEscape | function | core/ |
Data provider for testEscape(). |
HtmlTest::providerTestCleanCssIdentifier | function | core/ |
Provides test data for testCleanCssIdentifier(). |
Pagination
- Previous page
- Page 22
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.