FileRepository::$currentUser |
property |
core/modules/file/src/FileRepository.php |
The current user. |
FileRepository::$entityTypeManager |
property |
core/modules/file/src/FileRepository.php |
The entity type manager. |
FileRepository::$fileSystem |
property |
core/modules/file/src/FileRepository.php |
The file system service. |
FileRepository::$fileUsage |
property |
core/modules/file/src/FileRepository.php |
The file usage service. |
FileRepository::$moduleHandler |
property |
core/modules/file/src/FileRepository.php |
The module handler. |
FileRepository::$streamWrapperManager |
property |
core/modules/file/src/FileRepository.php |
The stream wrapper manager. |
FileRepository::copy |
function |
core/modules/file/src/FileRepository.php |
|
FileRepository::createOrUpdate |
function |
core/modules/file/src/FileRepository.php |
Create a file entity or update if it exists. |
FileRepository::loadByUri |
function |
core/modules/file/src/FileRepository.php |
|
FileRepository::move |
function |
core/modules/file/src/FileRepository.php |
|
FileRepository::writeData |
function |
core/modules/file/src/FileRepository.php |
|
FileRepository::__construct |
function |
core/modules/file/src/FileRepository.php |
FileRepository constructor. |
FileRepositoryInterface |
interface |
core/modules/file/src/FileRepositoryInterface.php |
Performs file system operations and updates database records accordingly. |
FileRepositoryInterface.php |
file |
core/modules/file/src/FileRepositoryInterface.php |
|
FileRepositoryInterface::copy |
function |
core/modules/file/src/FileRepositoryInterface.php |
Copies a file to a new location and adds a file record to the database. |
FileRepositoryInterface::loadByUri |
function |
core/modules/file/src/FileRepositoryInterface.php |
Loads the first File entity found with the specified URI. |
FileRepositoryInterface::move |
function |
core/modules/file/src/FileRepositoryInterface.php |
Moves a file to a new location and update the file's database entry. |
FileRepositoryInterface::writeData |
function |
core/modules/file/src/FileRepositoryInterface.php |
Writes a file to the specified destination and creates a file entity. |
FileRepositoryTest |
class |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests the FileRepository. |
FileRepositoryTest.php |
file |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
|
FileRepositoryTest::$fileRepository |
property |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
The file repository service under test. |
FileRepositoryTest::$fileSystem |
property |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
The file system service. |
FileRepositoryTest::setUp |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
|
FileRepositoryTest::testEntityStorageException |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests for entity storage exception. |
FileRepositoryTest::testExistingError |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests that writeData() fails overwriting an existing file. |
FileRepositoryTest::testExistingRename |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests writeData() when renaming around an existing file. |
FileRepositoryTest::testExistingReplace |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests writeData() when replacing an existing file. |
FileRepositoryTest::testInvalidStreamWrapper |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests for an invalid stream wrapper. |
FileRepositoryTest::testLoadByUri |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests loading a file by URI. |
FileRepositoryTest::testLoadByUriCaseSensitive |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests loading a file by case-sensitive URI. |
FileRepositoryTest::testWithFilename |
function |
core/modules/file/tests/src/Kernel/FileRepositoryTest.php |
Tests the writeData() method. |
FileRequiredTestForm |
class |
core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php |
File required test form class. |
FileRequiredTestForm.php |
file |
core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php |
|
FileRequiredTestForm::buildForm |
function |
core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php |
Form constructor. |
FileRequiredTestForm::getFormId |
function |
core/modules/file/tests/file_test/src/Form/FileRequiredTestForm.php |
Returns a unique string identifying the form. |
FileResourceTestBase |
class |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
|
FileResourceTestBase.php |
file |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
|
FileResourceTestBase::$author |
property |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
|
FileResourceTestBase::$entity |
property |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
|
FileResourceTestBase::$entityTypeId |
property |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
The tested entity type. |
FileResourceTestBase::$modules |
property |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
Modules to install. |
FileResourceTestBase::$patchProtectedFieldNames |
property |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
The fields that are protected against modification during PATCH requests. |
FileResourceTestBase::createEntity |
function |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
Creates the entity to be tested. |
FileResourceTestBase::fileResourceTestBaseSkipTests |
function |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
Marks some tests as skipped because XML cannot be deserialized. |
FileResourceTestBase::getExpectedCacheContexts |
function |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
The expected cache contexts for the GET/HEAD response of the test entity. |
FileResourceTestBase::getExpectedNormalizedEntity |
function |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
Returns the expected normalization of the entity. |
FileResourceTestBase::getExpectedUnauthorizedAccessMessage |
function |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
Return the expected error message. |
FileResourceTestBase::getNormalizedPatchEntity |
function |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
Returns the normalized PATCH entity. |
FileResourceTestBase::getNormalizedPostEntity |
function |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
Returns the normalized POST entity. |
FileResourceTestBase::makeCurrentUserFileOwner |
function |
core/modules/file/tests/src/Functional/Rest/FileResourceTestBase.php |
Makes the current user the file owner. |