83 calls to Url::fromUri()
- AggregatorTitleFormatter::viewElements in core/
modules/ aggregator/ src/ Plugin/ Field/ FieldFormatter/ AggregatorTitleFormatter.php - Builds a renderable array for a field value.
- 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 - DbUpdateController::info in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Returns the info database update page.
- DbUpdateController::triggerBatch in core/
modules/ system/ src/ Controller/ DbUpdateController.php - Starts the database update batch process.
- DisplayPluginBase::getMoreUrl in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php - Get the more URL for this view.
- EntityResourceTestBase::getEntityResourcePostUrl in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Gets an entity resource's POST URL.
- EntityResourceTestBase::getEntityResourceUrl in core/
modules/ rest/ tests/ src/ Functional/ EntityResource/ EntityResourceTestBase.php - Gets an entity resource's GET/PATCH/DELETE URL.
- EntityTestExternal::toUrl in core/
modules/ system/ tests/ modules/ entity_test/ src/ Entity/ EntityTestExternal.php - Gets the URL object for the entity.
- FeedViewBuilder::buildComponents in core/
modules/ aggregator/ src/ FeedViewBuilder.php - Builds the component fields and properties of a set of entities.
- FieldPluginBase::renderAsLink in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Render this field as a link, with the info from a fieldset set by the user.
- FieldPluginBase::renderText in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Performs an advanced text render for the item.
- FileUploadResourceTestBase::testFileUploadInvalidFileType in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with an invalid file type.
- FileUploadResourceTestBase::testFileUploadLargerFileSize in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with a file size larger than allowed.
- FileUploadResourceTestBase::testFileUploadMaliciousExtension in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route with malicious extensions.
- FileUploadResourceTestBase::testFileUploadNoExtensionSetting in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route no extension configured.
- FileUploadResourceTestBase::testFileUploadStrippedFilePath in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with any path prefixes being stripped.
- FileUploadResourceTestBase::testFileUploadUnicodeFilename in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with a unicode file name.
- FileUploadResourceTestBase::testFileUploadZeroByteFile in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload route with a zero byte file.
- FileUploadResourceTestBase::testPostFileUpload in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route.
- FileUploadResourceTestBase::testPostFileUploadDuplicateFile in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route with a duplicate file name.
- FileUploadResourceTestBase::testPostFileUploadDuplicateFileRaceCondition in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route twice, simulating a race condition.
- FileUploadResourceTestBase::testPostFileUploadInvalidHeaders in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - Tests using the file upload POST route with invalid headers.
- FileUrlGenerator::generate in core/
lib/ Drupal/ Core/ File/ FileUrlGenerator.php - Creates a root-relative web-accessible URL object.
- FunctionsTest::testIndexedKeyedLinks in core/
modules/ system/ tests/ src/ Kernel/ Theme/ FunctionsTest.php - Tests links.html.twig using links with indexed keys.
- FunctionsTest::testLinks in core/
modules/ system/ tests/ src/ Kernel/ Theme/ FunctionsTest.php - Tests links.html.twig.
- HalEntityNormalizationTrait::assertNormalizationEdgeCases in core/
modules/ hal/ tests/ src/ Functional/ EntityResource/ HalEntityNormalizationTrait.php - ImageThemeFunctionTest::testImageFormatterTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image field formatters.
- install_run_task in core/
includes/ install.core.inc - Runs an individual installation task.
- Item::buildUri in core/
modules/ aggregator/ src/ Entity/ Item.php - Entity URI callback.
- LinkExternalProtocolsConstraintValidatorTest::testValidate in core/
modules/ link/ tests/ src/ Unit/ Plugin/ Validation/ Constraint/ LinkExternalProtocolsConstraintValidatorTest.php - @covers ::validate[[api-linebreak]] @dataProvider providerValidate @runInSeparateProcess
- LinkFieldTest::testNoLinkUri in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests <nolink> and <none> as link uri.
- LinkFormatterTest::testFormatterLinkItem in core/
modules/ link/ tests/ src/ Unit/ LinkFormatterTest.php - Tests when LinkItem::getUrl returns a functional URL.
- 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.
- LinkItem::getUrl in core/
modules/ link/ src/ Plugin/ Field/ FieldType/ LinkItem.php - Gets the URL object.
- LinkNotExistingInternalConstraintValidatorTest::providerValidate in core/
modules/ link/ tests/ src/ Unit/ Plugin/ Validation/ Constraint/ LinkNotExistingInternalConstraintValidatorTest.php - Data provider for ::testValidate.
- Links::getLinks in core/
modules/ views/ src/ Plugin/ views/ field/ Links.php - Gets the list of links used by this field.
- LogTest::testLog in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ LogTest.php - Tests the Log plugin.
- MailTest::testRenderedElementsUseAbsolutePaths in core/
modules/ system/ tests/ src/ Kernel/ Mail/ MailTest.php - Checks that mails built from render arrays contain absolute paths.
- 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().
- RebuildScriptTest::testRebuild in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ RebuildScriptTest.php - Tests redirect in rebuild.php.
- RenderElementTypesTest::testMoreLink in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ RenderElementTypesTest.php - Tests system #type 'more_link'.
- RouterTest::testUrlGeneratorFront in core/
modules/ system/ tests/ src/ Functional/ Routing/ RouterTest.php - Checks the generate method on the URL generator using the front router.
- system_authorized_get_url in core/
modules/ system/ system.module - Return the URL for the authorize.php script.
- system_page_top in core/
modules/ system/ system.module - Implements hook_page_top().
- 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::testLinkAttributes in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Tests that default and custom attributes are handled correctly on links.
- UrlTest::testLinkBubbleableMetadata in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Tests that #type=link bubbles outbound route/path processors' metadata.
- UrlTest::testLinkRenderArrayText in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Tests that link functions support render arrays as 'text'.
- 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.
- ViewEditForm::getDisplayDetails in core/
modules/ views_ui/ src/ ViewEditForm.php - Helper function to get the display details section of the edit UI.
- ViewEditForm::save in core/
modules/ views_ui/ src/ ViewEditForm.php - Form submission handler for the 'save' action.
- _batch_finished in core/
includes/ batch.inc - Ends the batch processing.
- _system_advisories_requirements in core/
modules/ system/ system.install - Display requirements from security advisories.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.