Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. UrlHelper.php

8 calls to UrlHelper::stripDangerousProtocols()

BareHtmlPageRenderer::systemPageAttachments in core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php
Helper for system_page_attachments.
CommentTokensHooks::tokens in core/modules/comment/src/Hook/CommentTokensHooks.php
Implements hook_tokens().
FormattableMarkup::placeholderFormat in core/lib/Drupal/Component/Render/FormattableMarkup.php
Replaces placeholders in a string with values.
HandlerBase::sanitizeValue in core/modules/views/src/Plugin/views/HandlerBase.php
Sanitize the value for output.
template_preprocess_form in core/includes/form.inc
Prepares variables for form templates.
template_preprocess_search_result in core/modules/search/search.pages.inc
Prepares variables for individual search result templates.
UrlHelper::filterBadProtocol in core/lib/Drupal/Component/Utility/UrlHelper.php
Processes an HTML attribute value and strips dangerous protocols from URLs.
UrlHelper::isExternal in core/lib/Drupal/Component/Utility/UrlHelper.php
Determines whether a path is external to Drupal.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal