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 11.x for files
  5. Other projects
Title Object type File name Summary
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
FileSystem::mkdir function core/lib/Drupal/Core/File/FileSystem.php
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
FileSystem::moveUploadedFile function core/lib/Drupal/Core/File/FileSystem.php
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
FileSystem::realpath function core/lib/Drupal/Core/File/FileSystem.php
FileSystem::rmdir function core/lib/Drupal/Core/File/FileSystem.php
FileSystem::saveData function core/lib/Drupal/Core/File/FileSystem.php
FileSystem::scanDirectory function core/lib/Drupal/Core/File/FileSystem.php
FileSystem::tempnam function core/lib/Drupal/Core/File/FileSystem.php
FileSystem::unlink function core/lib/Drupal/Core/File/FileSystem.php
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.

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