Search for files

  1. Search 7.x for files
  2. Search 9.5.x for files
  3. Search 8.9.x for files
  4. Search 10.3.x for files
  5. Other projects
Title Object type File name Summary
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.
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.
FileSystemForm::getFormId function core/modules/system/src/Form/FileSystemForm.php Returns a unique string identifying the form.
FileSystemForm::__construct function core/modules/system/src/Form/FileSystemForm.php Constructs a FileSystemForm object.
FileSystemInterface interface core/lib/Drupal/Core/File/FileSystemInterface.php Provides an interface for helpers that operate on files and stream wrappers.
FileSystemInterface.php file core/lib/Drupal/Core/File/FileSystemInterface.php
FileSystemInterface::basename function core/lib/Drupal/Core/File/FileSystemInterface.php Gets the filename from a given path.
FileSystemInterface::chmod function core/lib/Drupal/Core/File/FileSystemInterface.php Sets the permissions on a file or directory.
FileSystemInterface::copy function core/lib/Drupal/Core/File/FileSystemInterface.php Copies a file to a new location without invoking the file API.
FileSystemInterface::createFilename function core/lib/Drupal/Core/File/FileSystemInterface.php Creates a full file path from a directory and filename.
FileSystemInterface::CREATE_DIRECTORY constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag used by ::prepareDirectory() -- create directory if not present.
FileSystemInterface::delete function core/lib/Drupal/Core/File/FileSystemInterface.php Deletes a file without database changes or hook invocations.
FileSystemInterface::deleteRecursive function core/lib/Drupal/Core/File/FileSystemInterface.php Deletes all files and directories in the specified filepath recursively.
FileSystemInterface::dirname function core/lib/Drupal/Core/File/FileSystemInterface.php Gets the name of the directory from a given path.
FileSystemInterface::EXISTS_ERROR constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag for dealing with existing files: Do nothing and return FALSE.
FileSystemInterface::EXISTS_RENAME constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag for dealing with existing files: Appends number until name is unique.
FileSystemInterface::EXISTS_REPLACE constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag for dealing with existing files: Replace the existing file.
FileSystemInterface::getDestinationFilename function core/lib/Drupal/Core/File/FileSystemInterface.php Determines the destination path for a file.
FileSystemInterface::getTempDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Gets the path of the configured temporary directory.
FileSystemInterface::INSECURE_EXTENSIONS constant core/lib/Drupal/Core/File/FileSystemInterface.php A list of insecure extensions.
FileSystemInterface::INSECURE_EXTENSION_REGEX constant core/lib/Drupal/Core/File/FileSystemInterface.php The regex pattern used when checking for insecure file types.
FileSystemInterface::mkdir function core/lib/Drupal/Core/File/FileSystemInterface.php Creates a directory, optionally creating missing components in the path.
FileSystemInterface::MODIFY_PERMISSIONS constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag used by ::prepareDirectory() -- file permissions may be changed.
FileSystemInterface::move function core/lib/Drupal/Core/File/FileSystemInterface.php Moves a file to a new location without database changes or hook invocation.
FileSystemInterface::moveUploadedFile function core/lib/Drupal/Core/File/FileSystemInterface.php Moves an uploaded file to a new location.
FileSystemInterface::prepareDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Checks that the directory exists and is writable.
FileSystemInterface::realpath function core/lib/Drupal/Core/File/FileSystemInterface.php Resolves the absolute filepath of a local URI or filepath.
FileSystemInterface::rmdir function core/lib/Drupal/Core/File/FileSystemInterface.php Removes a directory.
FileSystemInterface::saveData function core/lib/Drupal/Core/File/FileSystemInterface.php Saves a file to the specified destination without invoking file API.
FileSystemInterface::scanDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Finds all files that match a given mask in a given directory.
FileSystemInterface::tempnam function core/lib/Drupal/Core/File/FileSystemInterface.php Creates a file with a unique filename in the specified directory.
FileSystemInterface::unlink function core/lib/Drupal/Core/File/FileSystemInterface.php Deletes a file.
FilesystemLoader class core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php Loads templates from the filesystem.
FilesystemLoader.php file core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php
FilesystemLoader::$allowedFileExtensions property core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php Allowed file extensions.
FilesystemLoader::addPath function core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php Adds a path where templates are stored.
FilesystemLoader::findTemplate function core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php
FilesystemLoader::__construct function core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php Constructs a new FilesystemLoader object.
FileSystemModuleDiscoveryDataProviderTrait trait core/tests/Drupal/KernelTests/FileSystemModuleDiscoveryDataProviderTrait.php A trait used in testing for providing a list of modules in a dataProvider.

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