38 calls to Html::escape()
- AttributeArray::__toString in core/
lib/ Drupal/ Core/ Template/ AttributeArray.php - Implements the magic __toString() method.
- AttributeBoolean::__toString in core/
lib/ Drupal/ Core/ Template/ AttributeBoolean.php - Implements the magic __toString() method.
- AttributeString::__toString in core/
lib/ Drupal/ Core/ Template/ AttributeString.php - Implements the magic __toString() method.
- AttributeTest::providerTestAttributeValues in core/
tests/ Drupal/ Tests/ Core/ Template/ AttributeTest.php - AttributeValueBase::render in core/
lib/ Drupal/ Core/ Template/ AttributeValueBase.php - Returns a string representation of the attribute.
- ConfigTranslationUiModulesTest::testBooleanFieldConfigTranslation in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiModulesTest.php - Tests the translation of a boolean field settings.
- DefaultSelection::getReferenceableEntities in core/
lib/ Drupal/ Core/ Entity/ Plugin/ EntityReferenceSelection/ DefaultSelection.php - Gets the list of referenceable entities.
- DiffFormatter::_added in core/
lib/ Drupal/ Core/ Diff/ DiffFormatter.php - DiffFormatter::_context in core/
lib/ Drupal/ Core/ Diff/ DiffFormatter.php - DiffFormatter::_deleted in core/
lib/ Drupal/ Core/ Diff/ DiffFormatter.php - EntityReferenceItem::fieldSettingsForm in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - EntityReferenceSelectionAccessTest::testCommentHandler in core/
modules/ system/ tests/ src/ Kernel/ Entity/ EntityReferenceSelection/ EntityReferenceSelectionAccessTest.php - Tests the comment-specific overrides of the entity handler.
- EntityReferenceSelectionAccessTest::testMediaHandler in core/
modules/ system/ tests/ src/ Kernel/ Entity/ EntityReferenceSelection/ EntityReferenceSelectionAccessTest.php - Tests the selection handler for the media entity type.
- EntityReferenceSelectionAccessTest::testNodeHandler in core/
modules/ system/ tests/ src/ Kernel/ Entity/ EntityReferenceSelection/ EntityReferenceSelectionAccessTest.php - Tests the node-specific overrides of the entity handler.
- EntityReferenceSelectionAccessTest::testTermHandler in core/
modules/ system/ tests/ src/ Kernel/ Entity/ EntityReferenceSelection/ EntityReferenceSelectionAccessTest.php - Tests the term-specific overrides of the selection handler.
- EntityReferenceSelectionAccessTest::testUserHandler in core/
modules/ system/ tests/ src/ Kernel/ Entity/ EntityReferenceSelection/ EntityReferenceSelectionAccessTest.php - Tests the user-specific overrides of the entity handler.
- Fast404ExceptionHtmlSubscriber::on404 in core/
lib/ Drupal/ Core/ EventSubscriber/ Fast404ExceptionHtmlSubscriber.php - Handles a 404 error for HTML.
- FormattableMarkup::placeholderEscape in core/
lib/ Drupal/ Component/ Render/ FormattableMarkup.php - Escapes a placeholder replacement value if needed.
- FormattableMarkup::placeholderFormat in core/
lib/ Drupal/ Component/ Render/ FormattableMarkup.php - Replaces placeholders in a string with values.
- FormBuilderTest::providerTestBuildFormWithTriggeringElement in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Data provider for ::testBuildFormWithTriggeringElement().
- HtmlEscapedText::__toString in core/
lib/ Drupal/ Component/ Render/ HtmlEscapedText.php - Returns markup.
- HtmlTag::preRenderHtmlTag in core/
lib/ Drupal/ Core/ Render/ Element/ HtmlTag.php - Pre-render callback: Renders a generic HTML tag with attributes.
- HtmlTest::testDecodeEntitiesAndEscape in core/
tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php - Tests relationship between escaping and decoding HTML entities.
- HtmlTest::testDeprecations in core/
tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php - Test deprecations.
- HtmlTest::testEscape in core/
tests/ Drupal/ Tests/ Component/ Utility/ HtmlTest.php - Tests Html::escape().
- HtmlToTextTest::assertHtmlToText in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Helper function to test \Drupal\Core\Mail\MailFormatHelper::htmlToText().
- HtmlToTextTest::stringToHtml in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Converts a string to its PHP source equivalent for display in test messages.
- LinkGenerator::doGenerate in core/
lib/ Drupal/ Core/ Utility/ LinkGenerator.php - Generates the link.
- PhpSelection::getReferenceableEntities in core/
lib/ Drupal/ Core/ Entity/ Plugin/ EntityReferenceSelection/ PhpSelection.php - Gets the list of referenceable entities.
- PlaceholderGenerator::createPlaceholder in core/
lib/ Drupal/ Core/ Render/ PlaceholderGenerator.php - Turns the given element into a placeholder.
- RawStringFormatterTest::testStringFormatter in core/
modules/ field/ tests/ src/ Kernel/ KernelString/ RawStringFormatterTest.php - Tests string formatter output.
- Renderer::ensureMarkupIsSafe in core/
lib/ Drupal/ Core/ Render/ Renderer.php - Escapes #plain_text or filters #markup as required.
- StringFormatterTest::testStringFormatter in core/
modules/ field/ tests/ src/ Kernel/ KernelString/ StringFormatterTest.php - Tests string formatter output.
- theme_render_and_autoescape in core/
includes/ theme.inc - Escapes and renders variables for theme functions.
- TokenTest::providerTestReplaceEscaping in core/
tests/ Drupal/ Tests/ Core/ Utility/ TokenTest.php - TwigExtension::escapeFilter in core/
lib/ Drupal/ Core/ Template/ TwigExtension.php - Overrides twig_escape_filter().
- UrlHelper::filterBadProtocol in core/
lib/ Drupal/ Component/ Utility/ UrlHelper.php - Processes an HTML attribute value and strips dangerous protocols from URLs.
- WebAssertTest::testTextAsserts in core/
tests/ Drupal/ Tests/ Core/ Test/ WebAssertTest.php - Tests legacy text asserts.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.