Search for files

  1. Search 7.x for files
  2. Search 8.9.x for files
  3. Search 10.3.x for files
  4. Search 11.x for files
  5. Other projects
Title Object type File name Summary
FileStorageTest::testCRUD function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php Tests basic load/save/delete operations.
FileStorageTest::testDeleteAll function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php @covers ::deleteAll
FileStorageTest::testlistAll function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php Tests the FileStorage::listAll method with a relative and absolute path.
FileStorageTest::testUnsupportedDataTypeConfigException function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php Tests UnsupportedDataTypeConfigException.
FileStorageTest::testWriteable function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php @covers ::writeable
FileStorageTest::update function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
FileSystem class core/lib/Drupal/Core/File/FileSystem.php Provides helpers to operate on files and stream wrappers.
FileSystem class core/lib/Drupal/Component/FileSystem/FileSystem.php Provides file system functions.
FileSystem.php file core/lib/Drupal/Core/File/FileSystem.php
FileSystem.php file core/lib/Drupal/Component/FileSystem/FileSystem.php
FileSystem::$logger property core/lib/Drupal/Core/File/FileSystem.php The file logger channel.
FileSystem::$settings property core/lib/Drupal/Core/File/FileSystem.php The site settings.
FileSystem::$streamWrapperManager property core/lib/Drupal/Core/File/FileSystem.php The stream wrapper manager.
FileSystem::basename function core/lib/Drupal/Core/File/FileSystem.php Gets the filename from a given path.
FileSystem::chmod function core/lib/Drupal/Core/File/FileSystem.php Sets the permissions on a file or directory.
FileSystem::CHMOD_DIRECTORY constant core/lib/Drupal/Core/File/FileSystem.php Default mode for new directories. See self::chmod().
FileSystem::CHMOD_FILE constant core/lib/Drupal/Core/File/FileSystem.php Default mode for new files. See self::chmod().
FileSystem::copy function core/lib/Drupal/Core/File/FileSystem.php Copies a file to a new location without invoking the file API.
FileSystem::createFilename function core/lib/Drupal/Core/File/FileSystem.php Creates a full file path from a directory and filename.
FileSystem::delete function core/lib/Drupal/Core/File/FileSystem.php Deletes a file without database changes or hook invocations.
FileSystem::deleteRecursive function core/lib/Drupal/Core/File/FileSystem.php Deletes all files and directories in the specified filepath recursively.
FileSystem::dirname function core/lib/Drupal/Core/File/FileSystem.php Gets the name of the directory from a given path.
FileSystem::doScanDirectory function core/lib/Drupal/Core/File/FileSystem.php Internal function to handle directory scanning with recursion.
FileSystem::getDestinationFilename function core/lib/Drupal/Core/File/FileSystem.php Determines the destination path for a file.
FileSystem::getOsTemporaryDirectory function core/lib/Drupal/Component/FileSystem/FileSystem.php Discovers a writable system-appropriate temporary directory.
FileSystem::getTempDirectory function core/lib/Drupal/Core/File/FileSystem.php Gets the path of the configured temporary directory.
FileSystem::mkdir function core/lib/Drupal/Core/File/FileSystem.php Creates a directory, optionally creating missing components in the path.
FileSystem::mkdirCall function core/lib/Drupal/Core/File/FileSystem.php Ensures we don't pass a NULL as a context resource to mkdir().
FileSystem::move function core/lib/Drupal/Core/File/FileSystem.php Moves a file to a new location without database changes or hook invocation.
FileSystem::moveUploadedFile function core/lib/Drupal/Core/File/FileSystem.php Moves an uploaded file to a new location.
FileSystem::prepareDestination function core/lib/Drupal/Core/File/FileSystem.php Prepares the destination for a file copy or move operation.
FileSystem::prepareDirectory function core/lib/Drupal/Core/File/FileSystem.php Checks that the directory exists and is writable.
FileSystem::realpath function core/lib/Drupal/Core/File/FileSystem.php Resolves the absolute filepath of a local URI or filepath.
FileSystem::rmdir function core/lib/Drupal/Core/File/FileSystem.php Removes a directory.
FileSystem::saveData function core/lib/Drupal/Core/File/FileSystem.php Saves a file to the specified destination without invoking file API.
FileSystem::scanDirectory function core/lib/Drupal/Core/File/FileSystem.php Finds all files that match a given mask in a given directory.
FileSystem::tempnam function core/lib/Drupal/Core/File/FileSystem.php Creates a file with a unique filename in the specified directory.
FileSystem::unlink function core/lib/Drupal/Core/File/FileSystem.php Deletes a file.
FileSystem::__construct function core/lib/Drupal/Core/File/FileSystem.php Constructs a new FileSystem.
FileSystemDeprecationTest class core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php Tests deprecations in file.inc.
FileSystemDeprecationTest.php file core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php
FileSystemDeprecationTest::testDeprecatedFileBuildUri function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php Tests deprecated file_build_uri()
FileSystemDeprecationTest::testDeprecatedFileCreateUrl function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php Tests deprecated FileCreateUrl.
FileSystemForm class core/modules/system/src/Form/FileSystemForm.php Configure file system settings for this site.
FileSystemForm.php file core/modules/system/src/Form/FileSystemForm.php
FileSystemForm::$dateFormatter property core/modules/system/src/Form/FileSystemForm.php The date formatter service.
FileSystemForm::$fileSystem property core/modules/system/src/Form/FileSystemForm.php The file system.
FileSystemForm::$streamWrapperManager property core/modules/system/src/Form/FileSystemForm.php The stream wrapper manager.
FileSystemForm::buildForm function core/modules/system/src/Form/FileSystemForm.php Form constructor.
FileSystemForm::create function core/modules/system/src/Form/FileSystemForm.php Instantiates a new instance of this class.

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