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 11.x for escape
  5. Other projects
Title Object type File name Summary
JSWebAssert::assertNoEscaped function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Passes if the raw text IS NOT found escaped on the loaded page.
JSWebAssert::escapeHtml function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Escapes HTML for testing.
NodeRevisionsUiTest::testNodeRevisionDoubleEscapeFix function core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php Checks HTML double escaping of revision logs.
NodeTranslationUITest::testDetailsTitleIsNotEscaped function core/modules/node/tests/src/Functional/NodeTranslationUITest.php Tests title is not escaped (but XSS-filtered) for details form element.
OptimizedPhpArrayDumper::escape function core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php Escapes parameters.
OptimizedPhpArrayDumperTest::percentsEscapeProvider function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Data provider for testPercentsEscape().
OptimizedPhpArrayDumperTest::testPercentsEscape function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumperTest.php Tests that service arguments with escaped percents are correctly dumped.
Schema::escapeDefaultValue function core/lib/Drupal/Core/Database/Schema.php Escapes a value to be used as the default value on a column.
Select::escapeField function core/lib/Drupal/Core/Database/Query/Select.php Escapes a field name string.
Select::escapeLike function core/lib/Drupal/Core/Database/Query/Select.php Escapes characters that work as wildcard characters in a LIKE pattern.
SelectExtender::escapeField function core/lib/Drupal/Core/Database/Query/SelectExtender.php Escapes a field name string.
SelectExtender::escapeLike function core/lib/Drupal/Core/Database/Query/SelectExtender.php Escapes characters that work as wildcard characters in a LIKE pattern.
SelectInterface::escapeField function core/lib/Drupal/Core/Database/Query/SelectInterface.php Escapes a field name string.
SelectInterface::escapeLike function core/lib/Drupal/Core/Database/Query/SelectInterface.php Escapes characters that work as wildcard characters in a LIKE pattern.
Test::escapedCharacters function core/modules/system/tests/modules/test_page_test/src/Controller/Test.php
Test::escapedScript function core/modules/system/tests/modules/test_page_test/src/Controller/Test.php
Test::unEscapedScript function core/modules/system/tests/modules/test_page_test/src/Controller/Test.php
ThemeRenderAndAutoescapeTest class core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php Tests the theme_render_and_autoescape() function.
ThemeRenderAndAutoescapeTest.php file core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php
ThemeRenderAndAutoescapeTest::$modules property core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php Modules to install.
ThemeRenderAndAutoescapeTest::providerTestThemeRenderAndAutoescape function core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php Provide test examples.
ThemeRenderAndAutoescapeTest::setUp function core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php
ThemeRenderAndAutoescapeTest::testBubblingMetadata function core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php Ensure cache metadata is bubbled when using theme_render_and_autoescape().
ThemeRenderAndAutoescapeTest::testBubblingMetadataWithRenderable function core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php Ensure cache metadata is bubbled when using theme_render_and_autoescape().
ThemeRenderAndAutoescapeTest::testThemeEscapeAndRenderNotPrintable function core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php Ensures invalid content is handled correctly.
ThemeRenderAndAutoescapeTest::testThemeRenderAndAutoescape function core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php @dataProvider providerTestThemeRenderAndAutoescape
theme_render_and_autoescape function core/includes/theme.inc Escapes and renders variables for theme functions.
twig-autoescape-test.html.twig file core/modules/system/tests/modules/twig_theme_test/templates/twig-autoescape-test.html.twig {# Template for testing autoescape. #}
{{ script }}
TwigExtension::escapeFilter function core/lib/Drupal/Core/Template/TwigExtension.php Overrides twig_escape_filter().
TwigExtension::escapePlaceholder function core/lib/Drupal/Core/Template/TwigExtension.php Provides a placeholder wrapper around ::escapeFilter.
TwigExtensionTest::testEscapeWithGeneratedLink function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php @covers ::escapeFilter
@covers ::bubbleArgMetadata
TwigExtensionTest::testsRenderEscapedZeroValue function core/modules/system/tests/src/Functional/Theme/TwigExtensionTest.php Tests output of integer and double 0 values of TwigExtension::escapeFilter().
TwigRawTest::testAutoescape function core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php Tests autoescaping of unsafe content.
TwigRawTest::testAutoescapeRaw function core/modules/system/tests/src/Kernel/Theme/TwigRawTest.php Tests the raw filter inside an autoescape tag.
WebAssert::assertEscaped function core/tests/Drupal/Tests/WebAssert.php Passes if the raw text IS found escaped on the loaded page.
WebAssert::assertNoEscaped function core/tests/Drupal/Tests/WebAssert.php Passes if the raw text IS NOT found escaped on the loaded page.
_filter_html_escape function core/modules/filter/filter.module Escapes all HTML tags, so they will be visible instead of being effective.
_filter_url_escape_comments function core/modules/filter/filter.module Escapes the contents of HTML comments.

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