FileUrlGenerator |
class |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
Default implementation for the file URL generator service. |
FileUrlGenerator.php |
file |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
|
FileUrlGenerator::$moduleHandler |
property |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
The module handler. |
FileUrlGenerator::$requestStack |
property |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
The request stack. |
FileUrlGenerator::$streamWrapperManager |
property |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
The stream wrapper manager. |
FileUrlGenerator::doGenerateString |
function |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
Creates an absolute web-accessible URL string. |
FileUrlGenerator::generate |
function |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
Creates a root-relative web-accessible URL object. |
FileUrlGenerator::generateAbsoluteString |
function |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
Creates an absolute web-accessible URL string. |
FileUrlGenerator::generatePath |
function |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
Generate a URL path. |
FileUrlGenerator::generateString |
function |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
Creates a root-relative web-accessible URL string. |
FileUrlGenerator::transformRelative |
function |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
Transforms an absolute URL of a local file to a relative URL. |
FileUrlGenerator::__construct |
function |
core/lib/Drupal/Core/File/FileUrlGenerator.php |
Constructs a new file URL generator object. |
FileUrlGeneratorInterface |
interface |
core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php |
Generates file URLs for a stream to an external or local file. |
FileUrlGeneratorInterface.php |
file |
core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php |
|
FileUrlGeneratorInterface::generate |
function |
core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php |
Creates a root-relative web-accessible URL object. |
FileUrlGeneratorInterface::generateAbsoluteString |
function |
core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php |
Creates an absolute web-accessible URL string. |
FileUrlGeneratorInterface::generateString |
function |
core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php |
Creates a root-relative web-accessible URL string. |
FileUrlGeneratorInterface::transformRelative |
function |
core/lib/Drupal/Core/File/FileUrlGeneratorInterface.php |
Transforms an absolute URL of a local file to a relative URL. |
FileUrlGeneratorTest |
class |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
@coversDefaultClass \Drupal\Core\File\FileUrlGenerator |
FileUrlGeneratorTest.php |
file |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
|
FileUrlGeneratorTest::$fileUrlGenerator |
property |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
The file URL generator under test. |
FileUrlGeneratorTest::$modules |
property |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
Modules to install. |
FileUrlGeneratorTest::providerGenerateURI |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
Data provider. |
FileUrlGeneratorTest::setUp |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
|
FileUrlGeneratorTest::testGenerateAbsoluteStringMissingStreamWrapper |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
Tests missing stream handler. |
FileUrlGeneratorTest::testGenerateMissingStreamWrapper |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
Tests missing stream handler. |
FileUrlGeneratorTest::testGenerateStringMissingStreamWrapper |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
Tests missing stream handler. |
FileUrlGeneratorTest::testGenerateURI |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
@covers ::generate |
FileUrlGeneratorTest::testGenerateURIWithSchema |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
@covers ::generate |
FileUrlGeneratorTest::testPublicManagedFileURL |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
Tests the rewriting of public managed file URLs by hook_file_url_alter(). |
FileUrlGeneratorTest::testRelativeFileURL |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
Tests generate absolute string with relative URL. |
FileUrlGeneratorTest::testShippedFileURL |
function |
core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php |
Tests the rewriting of shipped file URLs by hook_file_url_alter(). |
FileUrlTest |
class |
core/modules/file/tests/src/Kernel/FileUrlTest.php |
Tests the file URL. |
FileUrlTest.php |
file |
core/modules/file/tests/src/Kernel/FileUrlTest.php |
|
FileUrlTest::testFilesUrlWithDifferentHostName |
function |
core/modules/file/tests/src/Kernel/FileUrlTest.php |
Tests public files with a different host name from settings. |
FileUsageBase |
class |
core/modules/file/src/FileUsage/FileUsageBase.php |
Defines the base class for database file usage backend. |
FileUsageBase.php |
file |
core/modules/file/src/FileUsage/FileUsageBase.php |
|
FileUsageBase::$configFactory |
property |
core/modules/file/src/FileUsage/FileUsageBase.php |
The config factory. |
FileUsageBase::add |
function |
core/modules/file/src/FileUsage/FileUsageBase.php |
Records that a module is using a file. |
FileUsageBase::delete |
function |
core/modules/file/src/FileUsage/FileUsageBase.php |
Removes a record to indicate that a module is no longer using a file. |
FileUsageBase::__construct |
function |
core/modules/file/src/FileUsage/FileUsageBase.php |
Creates a FileUsageBase object. |
FileUsageInterface |
interface |
core/modules/file/src/FileUsage/FileUsageInterface.php |
File usage backend interface. |
FileUsageInterface.php |
file |
core/modules/file/src/FileUsage/FileUsageInterface.php |
|
FileUsageInterface::add |
function |
core/modules/file/src/FileUsage/FileUsageInterface.php |
Records that a module is using a file. |
FileUsageInterface::delete |
function |
core/modules/file/src/FileUsage/FileUsageInterface.php |
Removes a record to indicate that a module is no longer using a file. |
FileUsageInterface::listUsage |
function |
core/modules/file/src/FileUsage/FileUsageInterface.php |
Determines where a file is used. |
FileUsed |
class |
core/modules/file/tests/modules/file_test_get_ids/src/Plugin/migrate/source/d7/FileUsed.php |
Drupal 7 file source from database restricted to used files. |
FileUsed.php |
file |
core/modules/file/tests/modules/file_test_get_ids/src/Plugin/migrate/source/d7/FileUsed.php |
|
FileUsed::query |
function |
core/modules/file/tests/modules/file_test_get_ids/src/Plugin/migrate/source/d7/FileUsed.php |
|
FileValidationConstraint |
class |
core/modules/file/src/Plugin/Validation/Constraint/FileValidationConstraint.php |
Validation File constraint. |