78 calls to file_create_url()
- AjaxCssForm::generateResponse in core/
modules/ ckeditor/ tests/ modules/ src/ Form/ AjaxCssForm.php - Generates an AJAX response to add CSS to a CKEditor Text Editor instance.
- AttachedAssetsTest::testAddFiles in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests adding a CSS and a JavaScript file.
- AttachedAssetsTest::testAddJsFileWithQueryString in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests JavaScript files that have querystrings attached get added right.
- AttachedAssetsTest::testAggregatedAttributes in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests that attributes are maintained when JS aggregation is enabled.
- AttachedAssetsTest::testAttributes in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests adding JavaScript files with additional attributes.
- AttachedAssetsTest::testBrowserConditionalComments in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests adding JavaScript within conditional comments.
- AttachedAssetsTest::testHeaderHTML in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests JS assets depending on the 'core/<head>' virtual library.
- BaseFieldFileFormatterBase::viewElements in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ BaseFieldFileFormatterBase.php - Builds a renderable array for a field value.
- CKEditor::getJSSettings in core/
modules/ ckeditor/ src/ Plugin/ Editor/ CKEditor.php - Returns JavaScript settings to be attached.
- CKEditorIntegrationTest::testLinkability in core/
modules/ media/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - Tests linkability of the CKEditor widget.
- CKEditorTest::getDefaultContentsCssConfig in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - CKEditorTest::testBuildContentsCssJSSetting in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - Tests CKEditor::buildContentsCssJSSetting().
- CKEditorTest::testGetJSSettings in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - Tests CKEditor::getJSSettings().
- CKEditorToolbarButtonTest::testImageButtonDisplay in core/
modules/ ckeditor/ tests/ src/ Functional/ CKEditorToolbarButtonTest.php - Method tests CKEditor image buttons.
- ColorSystemBrandingBlockAlter::preRender in core/
modules/ color/ src/ ColorSystemBrandingBlockAlter.php - #pre_render callback: Sets color preset logo.
- ColorTest::_testColor in core/
modules/ color/ tests/ src/ Functional/ ColorTest.php - Tests the Color module functionality using the given theme.
- ComputedFileUrl::getValue in core/
modules/ file/ src/ ComputedFileUrl.php - Gets the data value.
- CssCollectionRenderer::render in core/
lib/ Drupal/ Core/ Asset/ CssCollectionRenderer.php - Renders an asset collection.
- CssCollectionRendererUnitTest::providerTestRender in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssCollectionRendererUnitTest.php - Provides data for the CSS asset rendering test.
- CssOptimizer::rewriteFileURI in core/
lib/ Drupal/ Core/ Asset/ CssOptimizer.php - Prefixes all paths within a CSS file for processFile().
- CssOptimizerUnitTest::providerTestOptimize in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssOptimizerUnitTest.php - Provides data for the CSS asset optimizing test.
- DownloadTest::checkUrl in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - Download a file from the URL generated by file_create_url().
- DownloadTest::doPrivateFileTransferTest in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - Test the private file transfer system.
- DownloadTest::testFileCreateUrl in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - Test file_create_url().
- DownloadTest::testPublicFileTransfer in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - Test the public file transfer system.
- EngineTwigTest::testTwigFileUrls in core/
modules/ system/ tests/ src/ Functional/ Theme/ EngineTwigTest.php - Tests the automatic/magic calling of toString() on objects, if exists.
- EntityReferenceFieldItemNormalizer::normalize in core/
modules/ serialization/ src/ Normalizer/ EntityReferenceFieldItemNormalizer.php - File::createFileUrl in core/
modules/ file/ src/ Entity/ File.php - Creates a file URL for the URI of this file.
- File::renderLink in core/
modules/ file/ src/ Plugin/ views/ field/ File.php - Prepares link to the file.
- FileEntityFormatterTest::testFormatterFileLink in core/
modules/ file/ tests/ src/ Kernel/ Formatter/ FileEntityFormatterTest.php - Tests the file_link field formatter.
- FileEntityFormatterTest::testFormatterFileUri in core/
modules/ file/ tests/ src/ Kernel/ Formatter/ FileEntityFormatterTest.php - Tests the file_link field formatter.
- FileFieldAttributesTest::testNodeTeaser in core/
modules/ rdf/ tests/ src/ Functional/ FileFieldAttributesTest.php - Tests if file fields in teasers have correct resources.
- FileFieldRSSContentTest::testFileFieldRSSContent in core/
modules/ file/ tests/ src/ Functional/ FileFieldRSSContentTest.php - Tests RSS enclosure formatter display for RSS feeds.
- FileHalJsonAnonTest::getExpectedNormalizedEntity in core/
modules/ file/ tests/ src/ Functional/ Hal/ FileHalJsonAnonTest.php - Returns the expected normalization of the entity.
- FileListingTest::testFileListingPages in core/
modules/ file/ tests/ src/ Functional/ FileListingTest.php - Tests file overview with different user permissions.
- FilePrivateTest::testPrivateFile in core/
modules/ file/ tests/ src/ Functional/ FilePrivateTest.php - Tests file access for file uploaded to a private node.
- FileTokenReplaceTest::testFileTokenReplacement in core/
modules/ file/ tests/ src/ Functional/ FileTokenReplaceTest.php - Creates a file, then tests the tokens generated from it.
- FileUploadHalJsonTestBase::getExpectedNormalizedEntity in core/
modules/ file/ tests/ src/ Functional/ Hal/ FileUploadHalJsonTestBase.php - Gets the expected file entity.
- FileUriFormatter::viewValue in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ FileUriFormatter.php - Generate the output appropriate for one field item.
- FileUrlTest::testFilesUrlWithDifferentHostName in core/
modules/ file/ tests/ src/ Kernel/ FileUrlTest.php - Test public files with a different host name from settings.
- FileVideoFormatterTest::testAttributes in core/
modules/ file/ tests/ src/ Functional/ Formatter/ FileVideoFormatterTest.php - Tests that the attributes added to the formatter are applied on render.
- ImageButton::preRenderButton in core/
lib/ Drupal/ Core/ Render/ Element/ ImageButton.php - Prepares a #type 'button' render element for input.html.twig.
- ImageFieldDisplayTest::_testImageFieldFormatters in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - Test image formatters on node display.
- ImageFormatter::viewElements in core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageFormatter.php - Builds a renderable array for a field value.
- ImageStyle::buildUrl in core/
modules/ image/ src/ Entity/ ImageStyle.php - Returns the URL of this image derivative for an original image path or URI.
- ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/
modules/ image/ tests/ src/ Functional/ ImageStylesPathAndUrlTest.php - Tests building an image style URL.
- ImageTest::testThemeImageWithSrc in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ImageTest.php - Tests that an image with the src attribute is output correctly.
- ImageTest::testThemeImageWithSrcsetMultiplier in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ImageTest.php - Tests that an image with the srcset and multipliers is output correctly.
- ImageTest::testThemeImageWithSrcsetWidth in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ImageTest.php - Tests that an image with the srcset and widths is output correctly.
- ImageUrlFormatter::viewElements in core/
modules/ image/ src/ Plugin/ Field/ FieldFormatter/ ImageUrlFormatter.php - Builds a renderable array for a field value.
- ImportOpmlTest::submitImportForm in core/
modules/ aggregator/ tests/ src/ Functional/ ImportOpmlTest.php - Submits form with invalid, empty, and valid OPML files.
- ImportOpmlTest::validateImportFormFields in core/
modules/ aggregator/ tests/ src/ Functional/ ImportOpmlTest.php - Submits form filled with invalid fields.
- JsCollectionRenderer::render in core/
lib/ Drupal/ Core/ Asset/ JsCollectionRenderer.php - This class evaluates the aggregation enabled/disabled condition on a group by group basis by testing whether an aggregate file has been made for the group rather than by testing the site-wide aggregation setting. This allows this class to work…
- MediaDisplayTest::testMediaDisplay in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaDisplayTest.php - Test basic media display.
- MediaHalJsonAnonTest::getExpectedNormalizedFileEntity in core/
modules/ media/ tests/ src/ Functional/ Hal/ MediaHalJsonAnonTest.php - Gets the expected file entity.
- MediaSourceImageTest::testMediaImageSource in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceImageTest.php - Tests the image media source.
- MediaStandardProfileTest::audioTest in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaStandardProfileTest.php - Test the standard profile configuration for media type 'audio'.
- MediaStandardProfileTest::imageTest in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaStandardProfileTest.php - Test the standard profile configuration for media type 'image'.
- MediaStandardProfileTest::videoTest in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaStandardProfileTest.php - Test the standard profile configuration for media type 'video'.
- NodeRSSContentTest::testUrlHandling in core/
modules/ node/ tests/ src/ Functional/ NodeRSSContentTest.php - Tests relative, root-relative, protocol-relative and absolute URLs.
- PrivateFileOnTranslatedEntityTest::testPrivateLanguageFile in core/
modules/ file/ tests/ src/ Functional/ PrivateFileOnTranslatedEntityTest.php - Tests private file fields on translated nodes.
- ResponsiveImageFieldDisplayTest::assertResponsiveImageFieldFormattersLink in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php - Tests responsive image formatters linked to the file or node.
- ResponsiveImageFieldDisplayTest::doTestResponsiveImageFieldFormatters in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php - Test responsive image formatters on node display.
- RetrieveFileTest::testFileRetrieving in core/
modules/ system/ tests/ src/ Functional/ System/ RetrieveFileTest.php - Invokes system_retrieve_file() in several scenarios.
- SimpleTestTest::getTestResults in core/
modules/ simpletest/ src/ Tests/ SimpleTestTest.php - Get the results from a test and store them in the class array $results.
- StreamWrapperTest::testUriFunctions in core/
tests/ Drupal/ KernelTests/ Core/ File/ StreamWrapperTest.php - Test the getViaUri() and getViaScheme() methods and target functions.
- TaxonomyImageTest::testTaxonomyImageAccess in core/
modules/ taxonomy/ tests/ src/ Functional/ TaxonomyImageTest.php - template_preprocess_image in core/
includes/ theme.inc - Prepares variables for image templates.
- template_preprocess_image_style_preview in core/
modules/ image/ image.admin.inc - Prepares variables for image style preview templates.
- TestBase::run in core/
modules/ simpletest/ src/ TestBase.php - Run all tests in this class.
- ThemeSettingsTest::testLogoConfig in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ThemeSettingsTest.php - Tests that the default logo config can be overridden.
- ThemeTest::testThemeSettings in core/
modules/ system/ tests/ src/ Functional/ System/ ThemeTest.php - Test the theme settings form.
- theme_get_setting in core/
includes/ theme.inc - Retrieves a setting for the current theme or for a given theme.
- TwigExtension::getFunctions in core/
lib/ Drupal/ Core/ Template/ TwigExtension.php - UrlRewritingTest::testPublicManagedFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ UrlRewritingTest.php - Tests the rewriting of public managed file URLs by hook_file_url_alter().
- UrlRewritingTest::testRelativeFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ UrlRewritingTest.php - Test file_url_transform_relative().
- UrlRewritingTest::testShippedFileURL in core/
tests/ Drupal/ KernelTests/ Core/ File/ UrlRewritingTest.php - Tests the rewriting of shipped file URLs by hook_file_url_alter().
- _responsive_image_image_style_url in core/
modules/ responsive_image/ responsive_image.module - Wrapper around image_style_url() so we can return an empty image.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.