You are here

115 calls to Html::escape() in Zircon Profile 8

AggregatorTestBase::getValidOpml in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Creates a valid OPML file from an array of feeds.
AssertBreadcrumbTrait::assertBreadcrumbParts in core/modules/system/src/Tests/Menu/AssertBreadcrumbTrait.php
Assert that a trail exists in the internal browser.
AssertContentTrait::assertEscaped in core/modules/simpletest/src/AssertContentTrait.php
Passes if the raw text IS found escaped on the loaded page, fail otherwise.
AssertContentTrait::assertNoEscaped in core/modules/simpletest/src/AssertContentTrait.php
Passes if the raw text IS NOT found escaped on the loaded page, fail otherwise.
AssertContentTrait::assertNoRaw in core/modules/simpletest/src/AssertContentTrait.php
Passes if the raw text is NOT found on the loaded page, fail otherwise.
AssertContentTrait::assertRaw in core/modules/simpletest/src/AssertContentTrait.php
Passes if the raw text IS found on the loaded page, fail otherwise.
AssertContentTrait::assertThemeOutput in core/modules/simpletest/src/AssertContentTrait.php
Asserts themed output.
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.
BlockController::demo in core/modules/block/src/Controller/BlockController.php
Returns a block theme demo page.
CategoryAutocompleteController::autocomplete in core/modules/block/src/Controller/CategoryAutocompleteController.php
Retrieves suggestions for block category autocompletion.
CategoryAutocompleteTest::testAutocompleteSuggestions in core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php
Tests the autocomplete method.
check_url in core/includes/common.inc
Strips dangerous protocols from a URI and encodes it for output to HTML.
CommentTokenReplaceTest::testCommentTokenReplacement in core/modules/comment/src/Tests/CommentTokenReplaceTest.php
Creates a comment, then tests the tokens generated from it.
CommonTestController::destination in core/modules/system/tests/modules/common_test/src/Controller/CommonTestController.php
Prints a destination query parameter.
ConfigImporterTest::testSecondaryWriteSecondaryFirst in core/modules/config/src/Tests/ConfigImporterTest.php
Tests that secondary writes are overwritten.
ConfigImportUITest::testImportDiff in core/modules/config/src/Tests/ConfigImportUITest.php
Tests the screen that shows differences between active and sync.
ConfigTranslationOverviewTest::testMapperListPage in core/modules/config_translation/src/Tests/ConfigTranslationOverviewTest.php
Tests the config translation mapper page.
ConfirmDeleteMultiple::buildForm in core/modules/comment/src/Form/ConfirmDeleteMultiple.php
Form constructor.
CssCollectionRenderer::render in core/lib/Drupal/Core/Asset/CssCollectionRenderer.php
Renders an asset collection.
debug in core/includes/common.inc
Outputs debug information.
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
drupal_placeholder in core/includes/bootstrap.inc
Formats text for emphasized display in a placeholder inside a sentence.
EntityAutocompleteTest::testEntityReferenceAutocompletion in core/modules/system/src/Tests/Entity/EntityAutocompleteTest.php
Tests autocompletion edge cases with slashes in the names.
EntityReferenceItem::fieldSettingsForm in core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php
Returns a form for the field-level settings.
EntityReferenceSelectionAccessTest::testCommentHandler in core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
Test the comment-specific overrides of the entity handler.
EntityReferenceSelectionAccessTest::testNodeHandler in core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
Test the node-specific overrides of the entity handler.
EntityReferenceSelectionAccessTest::testUserHandler in core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php
Test the user-specific overrides of the entity handler.
EntityReferenceSelectionReferenceableTest::testReferenceablesWithNoLabelKey in core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php
Tests values returned by SelectionInterface::getReferenceableEntities() when the target entity type has no 'label' key.
EntityReferenceSelectionSortTest::testSort in core/modules/system/src/Tests/Entity/EntityReferenceSelection/EntityReferenceSelectionSortTest.php
Assert sorting by field and property.
ExceptionHandlingTest::testBacktraceEscaping in core/modules/system/src/Tests/Routing/ExceptionHandlingTest.php
Tests if exception backtraces are properly escaped when output to HTML.
ExceptionHandlingTest::testExceptionEscaping in core/modules/system/src/Tests/Routing/ExceptionHandlingTest.php
Tests exception message escaping.
ExposedFormPluginBase::exposedFormAlter in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
Alters the view exposed form.
Fast404ExceptionHtmlSubscriber::on404 in core/lib/Drupal/Core/EventSubscriber/Fast404ExceptionHtmlSubscriber.php
Handles a 404 error for HTML.
FileTokenReplaceTest::testFileTokenReplacement in core/modules/file/src/Tests/FileTokenReplaceTest.php
Creates a file, then tests the tokens generated from it.
FilterAdminTest::testFilterTipHtmlEscape in core/modules/filter/src/Tests/FilterAdminTest.php
Tests whether filter tips page is not HTML escaped.
FilterCaption::process in core/modules/filter/src/Plugin/Filter/FilterCaption.php
Performs the filter processing.
FilterHtml::tips in core/modules/filter/src/Plugin/Filter/FilterHtml.php
Generates a filter's tip.
FilterProcessResult::createPlaceholder in core/modules/filter/src/FilterProcessResult.php
Creates a placeholder.
FilterUnitTest::assertFilteredString in core/modules/filter/src/Tests/FilterUnitTest.php
Asserts multiple filter output expectations for multiple input strings.
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().
FormTest::testDisabledMarkup in core/modules/system/src/Tests/Form/FormTest.php
Verify markup for disabled form elements.
FormTest::testFieldFormSingle in core/modules/field/src/Tests/FormTest.php
FormTestStorageForm::submitForm in core/modules/system/tests/modules/form_test/src/Form/FormTestStorageForm.php
Form submission handler.
FunctionsTest::testLinks in core/modules/system/src/Tests/Theme/FunctionsTest.php
Tests links.html.twig.
HandlerBase::sanitizeValue in core/modules/views/src/Plugin/views/HandlerBase.php
Sanitize the value for output.
HandlerFieldRoleTest::testRole in core/modules/user/src/Tests/Views/HandlerFieldRoleTest.php
HandlerFilterPermissionTest::testFilterPermission in core/modules/user/src/Tests/Views/HandlerFilterPermissionTest.php
Tests the permission filter handler.
hook_node_update_index in core/modules/node/node.api.php
Act on a node being indexed for searching.
HtmlEscapedText::__toString in core/lib/Drupal/Component/Render/HtmlEscapedText.php
Returns markup.
HtmlResponseAttachmentsProcessor::processHtmlHeadLink in core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php
Transform a html_head_link array into html_head and http_header arrays.
HtmlTag::preRenderHtmlTag in core/lib/Drupal/Core/Render/Element/HtmlTag.php
Pre-render callback: Renders a generic HTML tag with attributes into #markup.
HtmlTest::testDecodeEntitiesAndEscape in core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
Tests relationship between escaping and decoding HTML entities.
HtmlTest::testEscape in core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
Tests Html::escape().
HtmlToTextTest::assertHtmlToText in core/modules/system/src/Tests/Mail/HtmlToTextTest.php
Helper function to test \Drupal\Core\Mail\MailFormatHelper::htmlToText().
HtmlToTextTest::stringToHtml in core/modules/system/src/Tests/Mail/HtmlToTextTest.php
Converts a string to its PHP source equivalent for display in test messages.
KernelTestBase::render in core/tests/Drupal/KernelTests/KernelTestBase.php
Renders a render array.
KernelTestBase::render in core/modules/simpletest/src/KernelTestBase.php
Renders a render array.
LanguageFormBase::validateCommon in core/modules/language/src/Form/LanguageFormBase.php
Validates the language editing element.
LinkFieldTest::testLinkFormatter in core/modules/link/src/Tests/LinkFieldTest.php
Tests the default 'link' formatter.
LinkFieldTest::testLinkSeparateFormatter in core/modules/link/src/Tests/LinkFieldTest.php
Tests the 'link_separate' formatter.
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…
LocalActionTest::testLocalAction in core/modules/system/src/Tests/Menu/LocalActionTest.php
Tests appearance of local actions.
LocalTasksTest::testPluginLocalTask in core/modules/system/src/Tests/Menu/LocalTasksTest.php
Tests the plugin based local tasks.
MigrateExecutableTest::testImportWithFailingRewind in core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php
Tests an import with an incomplete rewinding.
NodeTitleTest::testNodeTitle in core/modules/node/src/Tests/NodeTitleTest.php
Creates one node and tests if the node title has the correct value.
NodeTitleXSSTest::testNodeTitleXSS in core/modules/node/src/Tests/NodeTitleXSSTest.php
Tests XSS functionality with a node entity.
NodeTokenReplaceTest::testNodeTokenReplacement in core/modules/node/src/Tests/NodeTokenReplaceTest.php
Creates a node, then tests the tokens generated from it.
PageTitleTest::testRoutingTitle in core/modules/system/src/Tests/System/PageTitleTest.php
Tests the page title of render arrays.
PageTitleTest::testTitleTags in core/modules/system/src/Tests/System/PageTitleTest.php
Tests the handling of HTML in node titles.
PageTitleTest::testTitleXSS in core/modules/system/src/Tests/System/PageTitleTest.php
Test if the title of the site is XSS proof.
Permissions::getValueOptions in core/modules/user/src/Plugin/views/filter/Permissions.php
Child classes should be used to override this function and set the 'value options', unless 'options callback' is defined as a valid function or static public method to generate these values.
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/src/Tests/String/RawStringFormatterTest.php
Tests string formatter output.
RearrangeFilter::buildForm in core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php
Form constructor.
RenderElementTypesTest::assertElements in core/modules/system/src/Tests/Common/RenderElementTypesTest.php
Asserts that an array of elements is rendered properly.
Renderer::ensureMarkupIsSafe in core/lib/Drupal/Core/Render/Renderer.php
Escapes #plain_text or filters #markup as required.
Result::render in core/modules/views/src/Plugin/views/area/Result.php
Render the area.
SearchKeywordsConditionsTest::testSearchKeywordsConditions in core/modules/search/src/Tests/SearchKeywordsConditionsTest.php
Verify the keywords are captured and conditions respected.
search_excerpt in core/modules/search/search.module
Returns snippets from a piece of text, with search keywords highlighted.
Standard::filterXssDataAttributes in core/modules/editor/src/EditorXssFilter/Standard.php
Applies a very permissive XSS/HTML filter to data-attributes.
StringFormatterTest::testStringFormatter in core/modules/field/src/Tests/String/StringFormatterTest.php
Tests string formatter output.
TableSortExtenderUnitTest::testTableSortInit in core/modules/system/src/Tests/Common/TableSortExtenderUnitTest.php
Tests tablesort_init().
TermSelection::getReferenceableEntities in core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php
Gets the list of referenceable entities.
ThemeRenderAndAutoescapeTest::providerTestThemeRenderAndAutoescape in core/tests/Drupal/KernelTests/Core/Theme/ThemeRenderAndAutoescapeTest.php
Provide test examples.
theme_render_and_autoescape in core/includes/theme.inc
Escapes and renders variables for theme functions.
TipPluginImage::getOutput in core/modules/tour/tests/tour_test/src/Plugin/tour/tip/TipPluginImage.php
Returns a renderable array.
TipPluginText::getOutput in core/modules/tour/src/Plugin/tour/tip/TipPluginText.php
Returns a renderable array.
TokenReplaceUnitTest::testClear in core/modules/system/src/Tests/System/TokenReplaceUnitTest.php
Tests the clear parameter.
TokenReplaceUnitTest::testSystemSiteTokenReplacement in core/modules/system/src/Tests/System/TokenReplaceUnitTest.php
Tests the generation of all system site information tokens.
TokenTest::providerTestReplaceEscaping in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TwigEnvironmentTest::testInlineTemplate in core/modules/system/src/Tests/Theme/TwigEnvironmentTest.php
Tests inline templates.
TwigExtension::escapeFilter in core/lib/Drupal/Core/Template/TwigExtension.php
Overrides twig_escape_filter().
twig_render_template in core/themes/engines/twig/twig.engine
Implements hook_render_template().
UpdatePathTestBaseTest::testDatabaseLoaded in core/modules/system/src/Tests/Update/UpdatePathTestBaseTest.php
Tests that the database was properly loaded.
UrlHelper::filterBadProtocol in core/lib/Drupal/Component/Utility/UrlHelper.php
Processes an HTML attribute value and strips dangerous protocols from URLs.
views_pre_render_views_form_views_form in core/modules/views/views.module
Replaces views substitution placeholders.
views_views_pre_render in core/modules/views/views.module
Implements hook_views_pre_render().
WebTestBase::drupalGet in core/modules/simpletest/src/WebTestBase.php
Retrieves a Drupal path or an absolute path.
WebTestBase::drupalHead in core/modules/simpletest/src/WebTestBase.php
Retrieves only the headers for a Drupal path or an absolute path.
WebTestBase::drupalPostForm in core/modules/simpletest/src/WebTestBase.php
Executes a form submission.
_batch_test_finished_helper in core/modules/system/tests/modules/batch_test/batch_test.callbacks.inc
Provides a common 'finished' callback for batches 1 to 4.
_filter_html_escape in core/modules/filter/filter.module
Escapes all HTML tags, so they will be visible instead of being effective.
_filter_url_parse_email_links in core/modules/filter/filter.module
Makes links out of email addresses.
_filter_url_parse_full_links in core/modules/filter/filter.module
Makes links out of absolute URLs.
_filter_url_parse_partial_links in core/modules/filter/filter.module
Makes links out of domain names starting with "www."