Search for %s

  1. Search 7.x for %s
  2. Search 8.9.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
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.
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[[api-linebreak]]
@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[[api-linebreak]]
@dataProvider providerConstruct
HTMLRestrictionsTest::testConvenienceConstructors function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::fromString()[[api-linebreak]]
@covers ::fromTextFormat()[[api-linebreak]]
@covers ::fromFilterPluginInstance()[[api-linebreak]]
@dataProvider providerConvenienceConstructors
HTMLRestrictionsTest::testCounting function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::allowsNothing()[[api-linebreak]]
@covers ::getAllowedElements()[[api-linebreak]]
@dataProvider providerCounting
HTMLRestrictionsTest::testOperations function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::diff()[[api-linebreak]]
@covers ::intersect()[[api-linebreak]]
@covers ::merge()[[api-linebreak]]
@dataProvider providerOperands
HTMLRestrictionsTest::testRepresentations function core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php @covers ::toCKEditor5ElementsArray()[[api-linebreak]]
@covers ::toFilterHtmlAllowedTagsString()[[api-linebreak]]
@covers ::toGeneralHtmlSupportConfig()[[api-linebreak]]
@dataProvider providerRepresentations
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
HtmlTag::$voidElements property core/lib/Drupal/Core/Render/Element/HtmlTag.php Void elements do not contain values or closing tags.
HtmlTag::preRenderConditionalComments function core/lib/Drupal/Core/Render/Element/HtmlTag.php Pre-render callback: Renders #browsers into #prefix and #suffix.
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::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[[api-linebreak]]
HtmlTagTest::testPreRenderConditionalComments function core/tests/Drupal/Tests/Core/Render/Element/HtmlTagTest.php @group legacy
@covers ::preRenderConditionalComments[[api-linebreak]]
@dataProvider providerPreRenderConditionalComments
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.

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