Search for escape

  1. Search 7.x for escape
  2. Search 9.5.x for escape
  3. Search 8.9.x for escape
  4. Search 10.3.x for escape
  5. Other projects
Title Object type File name Summary
AssertContentTrait::assertEscaped function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the raw text IS found escaped on the loaded page, fail otherwise.
AssertContentTrait::assertNoEscaped function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if raw text IS NOT found escaped on loaded page, fail otherwise.
BasicSyntaxTest::testLikeEscape function core/tests/Drupal/KernelTests/Core/Database/BasicSyntaxTest.php Tests escaping of LIKE wildcards.
Connection::$escapedAliases property core/lib/Drupal/Core/Database/Connection.php List of escaped aliases names, keyed by unescaped aliases.
Connection::$escapedFields property core/lib/Drupal/Core/Database/Connection.php List of escaped field names, keyed by unescaped names.
Connection::$escapedTables property core/lib/Drupal/Core/Database/Connection.php List of escaped table names, keyed by unescaped names.
Connection::escapeAlias function core/lib/Drupal/Core/Database/Connection.php Escapes an alias name string.
Connection::escapeDatabase function core/lib/Drupal/Core/Database/Connection.php Escapes a database name string.
Connection::escapeField function core/lib/Drupal/Core/Database/Connection.php Escapes a field name string.
Connection::escapeLike function core/lib/Drupal/Core/Database/Connection.php Escapes characters that work as wildcard characters in a LIKE pattern.
Connection::escapeTable function core/lib/Drupal/Core/Database/Connection.php Escapes a table name string.
ConnectionTest::providerEscapeAlias function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeAlias.
ConnectionTest::providerEscapeDatabase function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeDatabase.
ConnectionTest::providerEscapeFields function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeField.
ConnectionTest::providerEscapeTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeTable.
ConnectionTest::testEscapeAlias function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeAlias
@dataProvider providerEscapeAlias
ConnectionTest::testEscapeDatabase function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeDatabase
@dataProvider providerEscapeDatabase
ConnectionTest::testEscapeField function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeField
@dataProvider providerEscapeFields
ConnectionTest::testEscapeTable function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeTable
@dataProvider providerEscapeTables
ContentTestTranslationUITest::$testHTMLEscapeForAllLanguages property core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php
ContentTranslationUITestBase::$testHTMLEscapeForAllLanguages property core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Flag to determine if "all languages" rendering is tested.
DocParserTest::testSupportsEscapedQuotedValues function core/tests/Drupal/Tests/Component/Annotation/Doctrine/DocParserTest.php @group 44
FilterAdminTest::testFilterTipHtmlEscape function core/modules/filter/tests/src/Functional/FilterAdminTest.php Tests whether filter tips page is not HTML escaped.
FilterHtmlEscape class core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php Provides a filter to display any HTML as plain text.
FilterHtmlEscape.php file core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php
FilterHtmlEscape::getHTMLRestrictions function core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php
FilterHtmlEscape::process function core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php
FilterHtmlEscape::tips function core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php
FilterKernelTest::testHtmlEscapeFilter function core/modules/filter/tests/src/Kernel/FilterKernelTest.php Tests the HTML escaping filter.
FormattableMarkup::placeholderEscape function core/lib/Drupal/Component/Render/FormattableMarkup.php Escapes a placeholder replacement value if needed.
Html::escape function core/lib/Drupal/Component/Utility/Html.php Escapes text by converting special characters to HTML entities.
Html::escapeCdataElement function core/lib/Drupal/Component/Utility/Html.php Adds comments around a <!CDATA section in a \DOMNode.
HtmlEscapedText class core/lib/Drupal/Component/Render/HtmlEscapedText.php Escapes HTML syntax characters to HTML entities for display in markup.
HtmlEscapedText.php file core/lib/Drupal/Component/Render/HtmlEscapedText.php
HtmlEscapedText::$string property core/lib/Drupal/Component/Render/HtmlEscapedText.php The string to escape.
HtmlEscapedText::count function core/lib/Drupal/Component/Render/HtmlEscapedText.php
HtmlEscapedText::jsonSerialize function core/lib/Drupal/Component/Render/HtmlEscapedText.php
HtmlEscapedText::__construct function core/lib/Drupal/Component/Render/HtmlEscapedText.php Constructs an HtmlEscapedText object.
HtmlEscapedText::__toString function core/lib/Drupal/Component/Render/HtmlEscapedText.php
HtmlEscapedTextTest class core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php Tests the HtmlEscapedText class.
HtmlEscapedTextTest.php file core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php
HtmlEscapedTextTest::providerToString function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php Data provider for testToString().
HtmlEscapedTextTest::testCount function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @covers ::count
HtmlEscapedTextTest::testToString function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @covers ::__toString
@covers ::jsonSerialize
HtmlSerializerRules::escape function core/lib/Drupal/Component/Utility/HtmlSerializerRules.php
HtmlTest::providerEscape function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Data provider for testEscape().
HtmlTest::testDecodeEntitiesAndEscape function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests relationship between escaping and decoding HTML entities.
HtmlTest::testEscape function core/tests/Drupal/Tests/Component/Utility/HtmlTest.php Tests Html::escape().
JsonTest::$htmlUnsafeEscaped property core/tests/Drupal/Tests/Component/Serialization/JsonTest.php An array of unsafe html characters which are already escaped.
JSWebAssert::assertEscaped function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Passes if the raw text IS found escaped on the loaded page.

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