Search for all
- Search 7.x for all
- Search 9.5.x for all
- Search 8.9.x for all
- Search 10.3.x for all
- Search 11.x for all
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| HTMLRestrictions::fromString | function | core/ |
Parses a string of HTML restrictions into a HTMLRestrictions value object. |
| HTMLRestrictions::fromTextFormat | function | core/ |
Constructs a set of HTML restrictions matching the given text format. |
| HTMLRestrictions::getAllowedElements | function | core/ |
Gets allowed elements. |
| HTMLRestrictions::getConcreteSubset | function | core/ |
Gets the subset of allowed elements whose tags are concrete. |
| HTMLRestrictions::getHtml5ElementList | function | core/ |
Gets a list of all known HTML5 elements. |
| HTMLRestrictions::getPlainTagsSubset | function | core/ |
Gets the subset of plain tags (no attributes) from allowed elements. |
| HTMLRestrictions::getRegExForWildCardAttributeName | function | core/ |
Computes a regular expression for matching a wildcard attribute name. |
| HTMLRestrictions::getTextContainerElementList | function | core/ |
Gets a list of CKEditor 5's `$block` text container elements. |
| HTMLRestrictions::getWildcardSubset | function | core/ |
Gets the subset of allowed elements whose tags are wildcards. |
| HTMLRestrictions::getWildcardTags | function | core/ |
Computes the tags that match the provided wildcard. |
| 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/ |
Tests Drupal\ckeditor5\HTMLRestrictions. |
| HTMLRestrictionsTest.php | file | core/ |
|
| HTMLRestrictionsTest::providerConstruct | function | core/ |
Provides data to testConstructor(). |
| HTMLRestrictionsTest::providerConvenienceConstructors | function | core/ |
Provides data to testConvenienceConstructors(). |
| HTMLRestrictionsTest::providerCounting | function | core/ |
Provides data to testCounting(). |
| HTMLRestrictionsTest::providerOperands | function | core/ |
Provides data to testOperations(). |
| HTMLRestrictionsTest::providerRepresentations | function | core/ |
Provides data to testRepresentations(). |
| HTMLRestrictionsTest::providerSubsets | function | core/ |
Provides data to testSubsets(). |
| HTMLRestrictionsTest::testConstructor | function | core/ |
Tests constructor. |
| HTMLRestrictionsTest::testConvenienceConstructors | function | core/ |
Tests convenience constructors. |
| HTMLRestrictionsTest::testCounting | function | core/ |
Tests counting. |
| HTMLRestrictionsTest::testOperations | function | core/ |
Tests operations. |
| HTMLRestrictionsTest::testRepresentations | function | core/ |
Tests representations. |
| HTMLRestrictionsTest::testSubsets | function | core/ |
Tests subsets. |
| HtmlSerializerRules | class | core/ |
Drupal-specific HTML5 serializer rules. |
| HtmlSerializerRules.php | file | core/ |
|
| HtmlSerializerRules::escape | function | core/ |
|
| 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/ |
|
| HtmlTag::preRenderHtmlTag | function | core/ |
Pre-render callback: Renders a generic HTML tag with attributes. |
Pagination
- Previous page
- Page 813
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.