22 calls to SafeMarkup::isSafe() in Zircon Profile 8
- Attribute::createAttributeValue in core/
lib/ Drupal/ Core/ Template/ Attribute.php - Creates the different types of attribute values.
- CommentPreviewTest::testCommentPreview in core/
modules/ comment/ src/ Tests/ CommentPreviewTest.php - Tests comment preview.
- drupal_set_message in core/
includes/ bootstrap.inc - Sets a message to display to the user.
- FieldPluginBase::renderText in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Performs an advanced text render for the item.
- FormattableMarkup::placeholderEscape in core/
lib/ Drupal/ Component/ Render/ FormattableMarkup.php - Escapes a placeholder replacement value if needed.
- HtmlTag::preRenderConditionalComments in core/
lib/ Drupal/ Core/ Render/ Element/ HtmlTag.php - Pre-render callback: Renders #browsers into #prefix and #suffix.
- HtmlTag::preRenderHtmlTag in core/
lib/ Drupal/ Core/ Render/ Element/ HtmlTag.php - Pre-render callback: Renders a generic HTML tag with attributes into #markup.
- LinkGenerationTest::testHookLinkAlter in core/
modules/ system/ src/ Tests/ Utility/ LinkGenerationTest.php - Tests how hook_link_alter() can affect escaping of the link text.
- LinkGenerator::generate in core/
lib/ Drupal/ Core/ Utility/ LinkGenerator.php - For anonymous users, the "active" class will be calculated on the server, because most sites serve each anonymous user the same cached page anyway. For authenticated users, the "active" class will be calculated on the client…
- MenuLinkContentDeriverTest::testRediscover in core/
modules/ menu_link_content/ src/ Tests/ MenuLinkContentDeriverTest.php - Tests the rediscovering.
- RenderCache::getCacheableRenderArray in core/
lib/ Drupal/ Core/ Render/ RenderCache.php - Gets a cacheable render array for a render array and its rendered output.
- Renderer::ensureMarkupIsSafe in core/
lib/ Drupal/ Core/ Render/ Renderer.php - Escapes #plain_text or filters #markup as required.
- Renderer::xssFilterAdminIfUnsafe in core/
lib/ Drupal/ Core/ Render/ Renderer.php - Applies a very permissive XSS/HTML filter for admin-only use.
- RendererTest::testRenderBasic in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - @covers ::render @covers ::doRender
- RendererTest::testRenderCacheProperties in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - Tests that #cache_properties are properly handled.
- SafeMarkupTest::testFormat in core/
tests/ Drupal/ Tests/ Component/ Utility/ SafeMarkupTest.php - Tests string formatting with SafeMarkup::format().
- SafeMarkupTest::testIsSafe in core/
tests/ Drupal/ Tests/ Component/ Utility/ SafeMarkupTest.php - Tests SafeMarkup::isSafe() with different objects.
- theme_render_and_autoescape in core/
includes/ theme.inc - Escapes and renders variables for theme functions.
- TranslationManagerTest::testFormatPlural in core/
tests/ Drupal/ Tests/ Core/ StringTranslation/ TranslationManagerTest.php - @dataProvider providerTestFormatPlural
- TwigExtension::escapeFilter in core/
lib/ Drupal/ Core/ Template/ TwigExtension.php - Overrides twig_escape_filter().
- ViewListBuilderTest::testBuildRowEntityList in core/
modules/ views_ui/ tests/ src/ Unit/ ViewListBuilderTest.php - Tests the listing of displays on a views list builder.
- views_pre_render_views_form_views_form in core/
modules/ views/ views.module - Replaces views substitution placeholders.