59 calls to Url::fromUri()
- BigPipeTest::testBigPipe in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Tests BigPipe-delivered HTML responses when JavaScript is enabled.
- BigPipeTest::testBigPipeNoJs in core/
modules/ big_pipe/ tests/ src/ Functional/ BigPipeTest.php - Tests BigPipe-delivered HTML responses when JavaScript is disabled.
- CorsIntegrationTest::testCrossSiteRequest in core/
tests/ Drupal/ FunctionalTests/ HttpKernel/ CorsIntegrationTest.php - FileUrlGenerator::generate in core/
lib/ Drupal/ Core/ File/ FileUrlGenerator.php - Creates a root-relative web-accessible URL object.
- install_run_task in core/
includes/ install.core.inc - Runs an individual installation task.
- JsonApiFilterRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFilterRegressionTest.php - Ensure filtering on relationships works with bundle-specific target types.
- JsonApiFilterRegressionTest::testFilterByIdFromIssue3015759 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFilterRegressionTest.php - Ensures that filtering by a sequential internal ID named 'id' is possible.
- JsonApiFilterRegressionTest::testFilteringEntitiesByEntityReferenceTargetId in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFilterRegressionTest.php - Tests that collections can be filtered by an entity reference target_id.
- JsonApiPatchRegressionTest::testBundleSpecificTargetEntityTypeFromIssue2953207 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiPatchRegressionTest.php - Ensure filtering on relationships works with bundle-specific target types.
- JsonApiPatchRegressionTest::testDanglingReferencesInAnEntityReferenceFieldFromIssue2968972 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiPatchRegressionTest.php - Cannot PATCH an entity with dangling references in an ER field.
- JsonApiPatchRegressionTest::testNonTranslatableEntityUpdatesFromIssue3043168 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiPatchRegressionTest.php - Ensure non-translatable entities can be PATCHed with an alternate language.
- JsonApiPatchRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiPatchRegressionTest.php - Ensures PATCHing datetime (both date-only & date+time) fields is possible.
- JsonApiPatchRegressionTest::testPatchInvalidFieldPropertyFromIssue3127883 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiPatchRegressionTest.php - Ensure PATCHing a non-existing field property results in a helpful error.
- JsonApiPatchRegressionTest::testPatchToIncludeUrlDoesNotReturnIncludeFromIssue3026030 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiPatchRegressionTest.php - Ensure includes are respected even when PATCHing.
- LanguageNegotiationContentEntityTest::testGetLanguageSwitchLinks in core/
modules/ language/ tests/ src/ Unit/ Plugin/ LanguageNegotiation/ LanguageNegotiationContentEntityTest.php - @covers ::getLanguageSwitchLinks[[api-linebreak]]
- LinkGenerationTest::testHookLinkAlter in core/
tests/ Drupal/ KernelTests/ Core/ Url/ LinkGenerationTest.php - Tests how hook_link_alter() can affect escaping of the link text.
- LinkGeneratorTest::testGenerateExternal in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with an external URL.
- LinksetControllerMultiLingualTest::testBasicMultilingualFunctions in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerMultiLingualTest.php - Test core functions of the linkset for multilingual behavior.
- LinksetControllerMultiLingualTest::testDefaultMultilingualFunctions in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerMultiLingualTest.php - Test core functions of the linkset for multilingual behavior.
- LinksetControllerTest::testAccess in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerTest.php - Test the access control functionality of the linkset endpoint.
- LinksetControllerTest::testBasicFunctions in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerTest.php - Test core functions of the linkset endpoint.
- LinksetControllerTest::testCacheability in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerTest.php - Test the cacheability of the linkset endpoint.
- LinksetControllerTest::testCustomLinkRelation in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerTest.php - Tests that menu items can use a custom link relation.
- LinksetControllerTest::testDisabledEndpoint in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerTest.php - Test that api route does not exist if the config option is disabled.
- LinksetControllerTest::testUserAccountMenu in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerTest.php - Tests that the user account menu behaves as it should.
- MailToFormatter::viewElements in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ MailToFormatter.php - Builds a renderable array for a field value.
- MenuLinkBase::getUrlObject in core/
lib/ Drupal/ Core/ Menu/ MenuLinkBase.php - Returns a URL object containing either the external path or route.
- PathValidator::getUrl in core/
lib/ Drupal/ Core/ Path/ PathValidator.php - Helper for getUrlIfValid() and getUrlIfValidWithoutAccessCheck().
- RenderElementTypesTest::testMoreLink in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ RenderElementTypesTest.php - Tests system #type 'more_link'.
- TestHelpSection::listTopics in core/
modules/ help/ tests/ modules/ help_topics_test/ src/ Plugin/ HelpSection/ TestHelpSection.php - Returns a list of topics to show in the help section.
- TestHelpSection::renderTopicForSearch in core/
modules/ help/ tests/ modules/ help_topics_test/ src/ Plugin/ HelpSection/ TestHelpSection.php - Renders one topic for search indexing or search results.
- TwigExtension::getLink in core/
lib/ Drupal/ Core/ Template/ TwigExtension.php - Gets a rendered link from a URL object.
- UnroutedUrlTest::testFromInvalidUri in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Tests the fromUri() method.
- UnroutedUrlTest::testFromUri in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Tests the fromUri() method.
- UnroutedUrlTest::testGetInternalPath in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Tests the getInternalPath() method.
- UnroutedUrlTest::testGetOptions in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Tests the getOptions() method.
- UnroutedUrlTest::testGetRouteName in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Tests the getRouteName() method.
- UnroutedUrlTest::testGetRouteParameters in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Tests the getRouteParameters() method.
- UnroutedUrlTest::testGetUri in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Tests the getPath() method.
- UnroutedUrlTest::testIsExternal in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Tests the isExternal() method.
- UnroutedUrlTest::testToString in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Tests the toString() method.
- UriLinkFormatter::viewElements in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ UriLinkFormatter.php - Builds a renderable array for a field value.
- Url::fromInternalUri in core/
lib/ Drupal/ Core/ Url.php - Creates a new Url object for 'internal:' URIs.
- Url::fromUserInput in core/
lib/ Drupal/ Core/ Url.php - Creates a Url object for a relative URI reference submitted by user input.
- UrlTest::testEntityUris in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the fromUri() method with an entity: URI.
- UrlTest::testFromInvalidInternalUri in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the fromUri() method with an invalid internal: URI.
- UrlTest::testFromRoutedPathWithInvalidRoute in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests fromUri() method with a user-entered path not matching any route.
- UrlTest::testFromRoutedPathWithValidRoute in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests fromUri() method with user-entered path matching a valid route.
- UrlTest::testFromRouteUriWithMissingRouteName in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - @covers ::fromUri[[api-linebreak]]
- UrlTest::testFromUriNumber in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the fromUri() method with a base: URI starting with a number.
- UrlTest::testFromValidInternalUri in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the fromUri() method with a valid internal: URI.
- UrlTest::testGetRouteNameWithExternalUrl in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the getRouteName() with an external URL.
- UrlTest::testGetRouteParametersWithExternalUrl in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the getRouteParameters() with an external URL.
- UrlTest::testGetUriForExternalUrl in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the getUri() method for external URLs.
- UrlTest::testGetUriForProtocolRelativeUrl in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the getUri() and isExternal() methods for protocol-relative URLs.
- UrlTest::testToUriStringForEntity in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the toUriString() method with entity: URIs.
- UrlTest::testToUriStringForInternal in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the toUriString() method with internal: URIs.
- UrlTest::testToUriStringForRoute in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the toUriString() method with route: URIs.
- _batch_finished in core/
includes/ batch.inc - Ends the batch processing.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.