You are here

58 calls to file_url_transform_relative() in Drupal 8

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.
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.
EngineTwigTest::testTwigFileUrls in core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php
Tests the automatic/magic calling of toString() on objects, if exists.
File::createFileUrl in core/modules/file/src/Entity/File.php
Creates a file URL for the URI of this file.
FileVideoFormatterTest::testAttributes in core/modules/file/tests/src/Functional/Formatter/FileVideoFormatterTest.php
Tests that the attributes added to the formatter are applied on render.
ImageAdminStylesTest::testConfigImport in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
Tests image style configuration import that does a delete.
ImageAdminStylesTest::testStyleReplacement in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
Test deleting a style and choosing a replacement style.
ImageButton::preRenderButton in core/lib/Drupal/Core/Render/Element/ImageButton.php
Prepares a #type 'button' render element for input.html.twig.
ImageDimensionsTest::testImageDimensions in core/modules/image/tests/src/Functional/ImageDimensionsTest.php
Test styled image dimensions cumulatively.
ImageFieldDisplayTest::testImageFieldSettings in core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
Tests for image field settings.
ImageFieldDisplayTest::_testImageFieldFormatters in core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
Test image formatters on node display.
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.
ImageThemeFunctionTest::testImageFormatterTheme in core/modules/image/tests/src/Kernel/ImageThemeFunctionTest.php
Tests usage of the image field formatters.
ImageThemeFunctionTest::testImageStyleTheme in core/modules/image/tests/src/Kernel/ImageThemeFunctionTest.php
Tests usage of the image style theme function.
ImageUrlFormatter::viewElements in core/modules/image/src/Plugin/Field/FieldFormatter/ImageUrlFormatter.php
Builds a renderable array for a field value.
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.
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.
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.
ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersEmptyMediaQuery in core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
Tests responsive image formatter on node display with an empty media query.
ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersOneSource in core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
Tests responsive image formatter on node display with one source.
SimpleTestTest::getTestResults in core/modules/simpletest/src/Tests/SimpleTestTest.php
Get the results from a test and store them in the class array $results.
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.
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::testRelativeFileURL in core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php
Test file_url_transform_relative().
UrlTransformRelativeTest::testFileUrlTransformRelative in core/tests/Drupal/KernelTests/Core/File/UrlTransformRelativeTest.php
Tests file_url_transform_relative function.
UserPictureTest::testPictureOnNodeComment in core/modules/user/tests/src/Functional/UserPictureTest.php
Tests embedded users on node pages.
_filter_html_image_secure_process in core/modules/filter/filter.module
Process callback for local image filter.
_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.