21 calls to UrlHelper::isExternal()

CredentialForm::validatePaths in core/modules/migrate_drupal_ui/src/Form/CredentialForm.php
The #element_validate handler for the source path elements.
DisplayPluginBase::getMoreUrl in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Get the more URL for this view.
Endpoint::__construct in core/modules/media/src/OEmbed/Endpoint.php
Endpoint constructor.
FieldPluginBase::renderText in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Performs an advanced text render for the item.
FormBuilder::doBuildForm in core/lib/Drupal/Core/Form/FormBuilder.php
Builds and processes all elements in the structured form array.
GotoAction::execute in core/lib/Drupal/Core/Action/Plugin/Action/GotoAction.php
Executes the plugin.
LocalAwareRedirectResponseTrait::isLocal in core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php
Determines whether a path is local.
MenuLinkParent::transform in core/modules/migrate/src/Plugin/migrate/process/MenuLinkParent.php
Find the parent link GUID.
PathValidator::getUrl in core/lib/Drupal/Core/Path/PathValidator.php
Helper for getUrlIfValid() and getUrlIfValidWithoutAccessCheck().
Provider::__construct in core/modules/media/src/OEmbed/Provider.php
Provider constructor.
RedirectDestination::get in core/lib/Drupal/Core/Routing/RedirectDestination.php
Gets the destination as a path.
RedirectResponseSubscriber::getDestinationAsAbsoluteUrl in core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php
Converts the passed in destination into an absolute URL.
RequestSanitizer::processParameterBag in core/lib/Drupal/Core/Security/RequestSanitizer.php
Processes a request parameter bag.
UiHelperTrait::buildUrl in core/tests/Drupal/Tests/UiHelperTrait.php
Builds an a absolute URL from a system path or a URL object.
UnroutedUrlAssembler::assemble in core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php
This is a helper function that calls buildExternalUrl() or buildLocalUrl() based on a check of whether the path is a valid external URL.
Url::fromInternalUri in core/lib/Drupal/Core/Url.php
Creates a new Url object for 'internal:' URIs.
UrlHelperTest::testIsExternal in core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php
Tests external versus internal paths.
UrlTest::testDrupalParseUrl in core/modules/system/tests/src/Functional/Common/UrlTest.php
Tests UrlHelper::parse().
WebTestBase::assertUrl in core/modules/simpletest/src/WebTestBase.php
Passes if the internal browser's URL matches the given path.
WebTestBase::buildUrl in core/modules/simpletest/src/WebTestBase.php
Builds an a absolute URL from a system path or a URL object.
_ckeditor_theme_css in core/modules/ckeditor/ckeditor.module
Retrieves the default theme's CKEditor stylesheets.

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