Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
file.inc
»
file_create_url
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
42 calls to file_create_url()
CascadingStylesheetsTest::testRenderFile
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
CascadingStylesheetsTest.php
Tests rendering the stylesheets.
ColorTest::_testColor
in drupal/
core/
modules/
color/
lib/
Drupal/
color/
Tests/
ColorTest.php
Tests the Color module functionality using the given theme.
DownloadTest::checkUrl
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
DownloadTest.php
Download a file from the URL generated by
file_create_url
().
DownloadTest::testPrivateFileTransfer
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
DownloadTest.php
Test the private file transfer system.
DownloadTest::testPublicFileTransfer
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
DownloadTest.php
Test the public file transfer system.
drupal_build_css_cache
in drupal/
core/
includes/
common.inc
Aggregates and optimizes CSS files into a cache file in the files directory.
drupal_pre_render_scripts
in drupal/
core/
includes/
common.inc
#pre_render callback to add the elements needed for JavaScript tags to be rendered.
drupal_pre_render_styles
in drupal/
core/
includes/
common.inc
Pre-render callback: Adds the elements needed for CSS tags to be rendered.
File::render_link
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Plugin/
views/
field/
File.php
Render whatever the data is as a link to the file.
FileFieldWidgetTest::testPrivateFileComment
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldWidgetTest.php
Tests that download restrictions on private files work on comments.
FileFieldWidgetTest::testPrivateFileSetting
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldWidgetTest.php
Tests a file field with a "Private files" upload destination setting.
FileFieldWidgetTest::testSingleValuedWidget
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileFieldWidgetTest.php
Tests upload and remove buttons for a single-valued File field.
FilePrivateTest::testPrivateFile
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FilePrivateTest.php
Tests file access for file uploaded to a private node.
FileTokenReplaceTest::testFileTokenReplacement
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
FileTokenReplaceTest.php
Creates a file, then tests the tokens generated from it.
ImageFieldDisplayTest::_testImageFieldFormatters
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Tests/
ImageFieldDisplayTest.php
Test image formatters on node display.
ImageFormatter::viewElements
in drupal/
core/
modules/
image/
lib/
Drupal/
image/
Plugin/
field/
formatter/
ImageFormatter.php
Implements
\Drupal\field\Plugin\Type\Formatter\FormatterInterface::viewElements
().
image_style_url
in drupal/
core/
modules/
image/
image.module
Return the URL for an image derivative given a style and image path.
ImportOpmlTest::submitImportForm
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
Tests/
ImportOpmlTest.php
Submit form with invalid, empty and valid OPML files.
ImportOpmlTest::validateImportFormFields
in drupal/
core/
modules/
aggregator/
lib/
Drupal/
aggregator/
Tests/
ImportOpmlTest.php
Submit form filled with invalid fields.
JavaScriptTest::testAggregatedAttributes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests that attributes are maintained when JS aggregation is enabled.
JavaScriptTest::testAggregation
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests JavaScript grouping and aggregation.
JavaScriptTest::testAttributes
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding JavaScript files with additional attributes.
JavaScriptTest::testBrowserConditionalComments
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
JavaScriptTest.php
Tests adding JavaScript within conditional comments.
PictureFieldDisplayTest::_testPictureFieldFormatters
in drupal/
core/
modules/
picture/
lib/
Drupal/
picture/
Tests/
PictureFieldDisplayTest.php
Test picture formatters on node display.
PictureFormatter::viewElements
in drupal/
core/
modules/
picture/
lib/
Drupal/
picture/
Plugin/
field/
formatter/
PictureFormatter.php
Implements
Drupal\field\Plugin\Type\Formatter\FormatterInterface::viewElements
().
rdf_preprocess_field
in drupal/
core/
modules/
rdf/
rdf.module
Implements
hook_preprocess_HOOK
() for
field.tpl.php
.
RetrieveFileTest::testFileRetrieving
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
RetrieveFileTest.php
Invokes
system_retrieve_file
() in several scenarios.
RSSEnclosureFormatter::viewElements
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Plugin/
field/
formatter/
RSSEnclosureFormatter.php
Implements
\Drupal\field\Plugin\Type\Formatter\FormatterInterface::viewElements
().
SimpleTestTest::getTestResults
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
Tests/
SimpleTestTest.php
Get the results from a test and store them in the class array $results.
system_tokens
in drupal/
core/
modules/
system/
system.tokens.inc
Implements
hook_tokens
().
TestBase::run
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
TestBase.php
Run all tests in this class.
ThemeTest::testThemeSettings
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
ThemeTest.php
Test the theme settings form.
theme_file_link
in drupal/
core/
modules/
file/
file.module
Returns HTML for a link to a file.
theme_get_setting
in drupal/
core/
includes/
theme.inc
Retrieve a setting for the current theme or for a given theme.
theme_image
in drupal/
core/
includes/
theme.inc
Returns HTML for an image.
theme_image_button
in drupal/
core/
includes/
form.inc
Returns HTML for an image button form element.
theme_image_style_preview
in drupal/
core/
modules/
image/
image.admin.inc
Returns HTML for a preview of an image style.
Uri::render
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Plugin/
views/
field/
Uri.php
Render the field.
UrlPlainFormatter::viewElements
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Plugin/
field/
formatter/
UrlPlainFormatter.php
Implements
\Drupal\field\Plugin\Type\Formatter\FormatterInterface::viewElements
().
UrlRewritingTest::testPublicCreatedFileURL
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UrlRewritingTest.php
Test the generating of rewritten public created file URLs.
UrlRewritingTest::testShippedFileURL
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UrlRewritingTest.php
Test the generating of rewritten shipped file URLs.
_color_page_alter
in drupal/
core/
modules/
color/
color.module
Replaces the logo with a color-altered logo.