Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 8.9.x for file
  4. Search 10.3.x for file
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
File class core/modules/media/src/Plugin/media/Source/File.php File entity media source.
File class core/modules/file/src/Entity/File.php Defines the file entity class.
File class core/modules/file/src/Plugin/views/field/File.php Field handler to provide simple renderer that allows linking to a file.
File class core/modules/file/src/Plugin/views/wizard/File.php Tests creating managed files views with the wizard.
File class core/modules/file/src/Plugin/migrate/source/d6/File.php Drupal 6 file source from database.
File class core/modules/file/src/Plugin/migrate/source/d7/File.php Drupal 7 file source from database.
File class core/lib/Drupal/Core/Render/Element/File.php Provides a form element for uploading a file.

All search results

Title Object type File name Summary
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 install.
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
FileSystemTempDirectoryTest::$fileSystem property core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php The file system under test.
FileSystemTempDirectoryTest::$modules property core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Modules to install.
FileSystemTempDirectoryTest::setUp function core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php
FileSystemTempDirectoryTest::testGetTempDirectoryOsDefault function core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Tests os default fallback.
FileSystemTempDirectoryTest::testGetTempDirectorySettings function core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Tests 'file_temp_path' setting.
FileSystemTest class core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @coversDefaultClass \Drupal\Core\File\FileSystem
@group File
FileSystemTest class core/tests/Drupal/Tests/Core/File/FileSystemTest.php @coversDefaultClass \Drupal\Core\File\FileSystem
FileSystemTest.php file core/tests/Drupal/Tests/Core/File/FileSystemTest.php
FileSystemTest.php file core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php

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