HtmlResponsePlaceholderStrategySubscriber.php |
file |
core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php |
|
HtmlResponsePlaceholderStrategySubscriber::$placeholderStrategy |
property |
core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php |
The placeholder strategy to use. |
HtmlResponsePlaceholderStrategySubscriber::getSubscribedEvents |
function |
core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php |
|
HtmlResponsePlaceholderStrategySubscriber::onRespond |
function |
core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php |
Processes placeholders for HTML responses. |
HtmlResponsePlaceholderStrategySubscriber::__construct |
function |
core/lib/Drupal/Core/EventSubscriber/HtmlResponsePlaceholderStrategySubscriber.php |
Constructs a HtmlResponsePlaceholderStrategySubscriber object. |
HtmlResponseSubscriber |
class |
core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php |
Response subscriber to handle HTML responses. |
HtmlResponseSubscriber.php |
file |
core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php |
|
HtmlResponseSubscriber::$htmlResponseAttachmentsProcessor |
property |
core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php |
The HTML response attachments processor service. |
HtmlResponseSubscriber::getSubscribedEvents |
function |
core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php |
|
HtmlResponseSubscriber::onRespond |
function |
core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php |
Processes attachments for HtmlResponse responses. |
HtmlResponseSubscriber::__construct |
function |
core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php |
Constructs a HtmlResponseSubscriber object. |
HTMLRestrictions |
class |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Represents a set of HTML restrictions. |
HTMLRestrictions.php |
file |
core/modules/ckeditor5/src/HTMLRestrictions.php |
|
HTMLRestrictions::$elements |
property |
core/modules/ckeditor5/src/HTMLRestrictions.php |
An array of allowed elements. |
HTMLRestrictions::$unrestricted |
property |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Whether unrestricted, in other words: arbitrary HTML allowed. |
HTMLRestrictions::allowsNothing |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Whether this set of HTML restrictions allows nothing. |
HTMLRestrictions::applyOperation |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Applies an operation (difference/intersection/union) with wildcard support. |
HTMLRestrictions::diff |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Computes difference of two HTML restrictions, with wildcard support. |
HTMLRestrictions::doDiff |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Computes difference of two HTML restrictions, without wildcard support. |
HTMLRestrictions::doIntersect |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Computes intersection of two HTML restrictions, without wildcard support. |
HTMLRestrictions::emptySet |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Creates the empty set of HTML restrictions: nothing is allowed. |
HTMLRestrictions::extractPlainTagsSubset |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Extracts the subset of plain tags (attributes omitted) from allowed elements. |
HTMLRestrictions::findElementsOverridingGloballyDisallowedAttributes |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Finds elements overriding globally disallowed attributes. |
HTMLRestrictions::fromFilterPluginInstance |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Constructs a set of HTML restrictions matching the given text format. |
HTMLRestrictions::fromObjectWithHtmlRestrictions |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Constructs a set of HTML restrictions matching the given object. |
HTMLRestrictions::fromString |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Parses a string of HTML restrictions into a HTMLRestrictions value object. |
HTMLRestrictions::fromTextFormat |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Constructs a set of HTML restrictions matching the given text format. |
HTMLRestrictions::getAllowedElements |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Gets allowed elements. |
HTMLRestrictions::getConcreteSubset |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Gets the subset of allowed elements whose tags are concrete. |
HTMLRestrictions::getHtml5ElementList |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Gets a list of all known HTML5 elements. |
HTMLRestrictions::getPlainTagsSubset |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Gets the subset of plain tags (no attributes) from allowed elements. |
HTMLRestrictions::getRegExForWildCardAttributeName |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Computes a regular expression for matching a wildcard attribute name. |
HTMLRestrictions::getTextContainerElementList |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Gets a list of CKEditor 5's `$block` text container elements. |
HTMLRestrictions::getWildcardSubset |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Gets the subset of allowed elements whose tags are wildcards. |
HTMLRestrictions::getWildcardTags |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Computes the tags that match the provided wildcard. |
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 "elements" representation. |
HTMLRestrictions::toFilterHtmlAllowedTagsString |
function |
core/modules/ckeditor5/src/HTMLRestrictions.php |
Transforms into the Drupal HTML filter's "allowed_html" 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. |