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
FileSystemForm::getEditableConfigNames function core/modules/system/src/Form/FileSystemForm.php Gets the configuration names that will be editable.
FileSystemForm::getFormId function core/modules/system/src/Form/FileSystemForm.php Returns a unique string identifying the form.
FileSystemForm::submitForm function core/modules/system/src/Form/FileSystemForm.php Form submission handler.
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.
FileSystemModuleDiscoveryDataProviderTrait.php file core/tests/Drupal/KernelTests/FileSystemModuleDiscoveryDataProviderTrait.php
FileSystemModuleDiscoveryDataProviderTrait::coreModuleListDataProvider function core/tests/Drupal/KernelTests/FileSystemModuleDiscoveryDataProviderTrait.php A data provider that lists every module in core.
FileSystemRequirementsTest class core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php @group File
FileSystemRequirementsTest.php file core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php
FileSystemRequirementsTest::$modules property core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php Modules to enable.
FileSystemRequirementsTest::$strictConfigSchema property core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php Set to TRUE to strict check all configuration saved.
FileSystemRequirementsTest::checkSystemRequirements function core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php Checks system runtime requirements.
FileSystemRequirementsTest::setUp function core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php
FileSystemRequirementsTest::testSettingsExist function core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php Tests if settings are set, there are not warnings.
FileSystemTempDirectoryTest class core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Tests for getTempDirectory on FileSystem.
FileSystemTempDirectoryTest.php file core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php

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