Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 10.3.x for to
  5. Other projects
Title Object type File name Summary
FileNameLengthConstraintValidator class core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php Validates the file name length constraint.
FileNameLengthConstraintValidator.php file core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php
FileNameLengthConstraintValidator::validate function core/modules/file/src/Plugin/Validation/Constraint/FileNameLengthConstraintValidator.php
FileNameLengthConstraintValidatorTest class core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php Tests the FileNameLengthConstraintValidator.
FileNameLengthConstraintValidatorTest.php file core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php
FileNameLengthConstraintValidatorTest::testFileValidateNameLength function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileNameLengthConstraintValidatorTest.php This will ensure the filename length is valid.
FilePathTest::$localDirectory property core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php The base path to the source files on the destination site.
FileProcessOutputCallback::getOutput function core/modules/package_manager/src/FileProcessOutputCallback.php
FileReadOnlyStorage class core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Reads code as regular PHP files, but won't write them.
FileReadOnlyStorage.php file core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php
FileReadOnlyStorage::$directory property core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php The directory where the files should be stored.
FileReadOnlyStorage::delete function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Deletes PHP code from storage.
FileReadOnlyStorage::deleteAll function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Removes all files in this bin.
FileReadOnlyStorage::exists function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Checks whether the PHP code exists in storage.
FileReadOnlyStorage::garbageCollection function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Performs garbage collection on the storage.
FileReadOnlyStorage::getFullPath function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Gets the full file path.
FileReadOnlyStorage::listAll function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Lists all the files in the storage.
FileReadOnlyStorage::load function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Loads PHP code from storage.
FileReadOnlyStorage::save function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Saves PHP code to storage.
FileReadOnlyStorage::__construct function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Constructs this FileStorage object.
FileRepository class core/modules/file/src/FileRepository.php Provides a file entity repository.
FileRepository.php file core/modules/file/src/FileRepository.php
FileRepository::copy function core/modules/file/src/FileRepository.php Copies a file to a new location and adds a file record to the database.
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 Loads the first File entity found with the specified URI.
FileRepository::move function core/modules/file/src/FileRepository.php Moves a file to a new location and update the file's database entry.
FileRepository::writeData function core/modules/file/src/FileRepository.php Writes a file to the specified destination.
FileRepository::__construct function core/modules/file/src/FileRepository.php
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.
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.
FileSelectionTest::testCanNotReferToTemporaryFiles function core/modules/file/tests/src/Kernel/Plugin/EntityReference/FileSelectionTest.php Tests that entity reference should avoid referring to temporary files.
FileSelectionTest::testCanReferToPermanentFiles function core/modules/file/tests/src/Kernel/Plugin/EntityReference/FileSelectionTest.php Tests that entity reference should refer permanent files.
FileSizeLimitConstraint::getDefaultOption function core/modules/file/src/Plugin/Validation/Constraint/FileSizeLimitConstraint.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.