Search for escape

  1. Search 7.x for escape
  2. Search 9.5.x for escape
  3. Search 10.3.x for escape
  4. Search 11.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 the raw text IS NOT found escaped on the loaded page, fail
otherwise.
AssertLegacyTrait::assertEscaped function core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php Passes if the raw text IS found escaped on the loaded page, fail otherwise.
AssertLegacyTrait::assertNoEscaped function core/tests/Drupal/FunctionalTests/AssertLegacyTrait.php Passes if the raw text is not found escaped on the loaded page.
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::$escapedNames property core/lib/Drupal/Core/Database/Connection.php List of escaped database, table, and field names, keyed by unescaped names.
Connection::doEscape function core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php Escape a string if needed.
Connection::escapeAlias function core/lib/Drupal/Core/Database/Driver/mysql/Connection.php Escapes an alias name string.
Connection::escapeAlias function core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php Escapes an alias name string.
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/Driver/pgsql/Connection.php Escapes a field name string.
Connection::escapeField function core/lib/Drupal/Core/Database/Connection.php Escapes a field name string.
Connection::escapeField function core/lib/Drupal/Core/Database/Driver/mysql/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/Driver/pgsql/Connection.php Escapes a table name string.
Connection::escapeTable function core/lib/Drupal/Core/Database/Connection.php Escapes a table name string.
ConnectionTest::providerEscapeMethods function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testEscapeMethods().
ConnectionTest::testEscapeMethods function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Test the various escaping methods.
ContentTestTranslationUITest::$testHTMLEscapeForAllLanguages property core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php Flag to determine if "all languages" rendering is tested.
ContentTranslationUITestBase::$testHTMLEscapeForAllLanguages property core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php Flag to determine if "all languages" rendering is tested.
ContentTranslationUITestBase::$testHTMLEscapeForAllLanguages property core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php Flag to determine if "all languages" rendering is tested.
DatabaseLegacyTest::testDbEscapeField function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_escape_field() function.
DatabaseLegacyTest::testDbEscapeTable function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_escape_table() function.
db_escape_field function core/includes/database.inc Restricts a dynamic column or constraint name to safe characters.
db_escape_table function core/includes/database.inc Restricts a dynamic table name to safe characters.
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 Returns HTML allowed by this filter's configuration.
FilterHtmlEscape::process function core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php Performs the filter processing.
FilterHtmlEscape::tips function core/modules/filter/src/Plugin/Filter/FilterHtmlEscape.php Generates a filter's tip.
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 Returns markup.
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

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