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
FileStorageFactoryTest.php file core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php
FileStorageFactoryTest::testGetSync function core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php @covers ::getSync[[api-linebreak]]
FileStorageInterface interface core/modules/file/src/FileStorageInterface.php Defines an interface for file entity storage classes.
FileStorageInterface.php file core/modules/file/src/FileStorageInterface.php
FileStorageInterface::spaceUsed function core/modules/file/src/FileStorageInterface.php Determines total disk space used by a single user or the whole filesystem.
FileStorageReadOnlyTest class core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php @coversDefaultClass \Drupal\Component\PhpStorage\FileReadOnlyStorage[[api-linebreak]]
FileStorageReadOnlyTest.php file core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php
FileStorageReadOnlyTest::$readonlyStorage property core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php Read only test settings to pass to storage instances.
FileStorageReadOnlyTest::$standardSettings property core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php Standard test settings to pass to storage instances.
FileStorageReadOnlyTest::setUp function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php
FileStorageReadOnlyTest::testDeleteAll function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php @covers ::deleteAll[[api-linebreak]]
FileStorageReadOnlyTest::testReadOnly function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php Tests writing with one class and reading with another.
FileStorageSchema class core/modules/file/src/FileStorageSchema.php Defines the file schema handler.
FileStorageSchema.php file core/modules/file/src/FileStorageSchema.php
FileStorageSchema::getSharedTableFieldSchema function core/modules/file/src/FileStorageSchema.php Gets the schema for a single field definition.
FileStorageTest class core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php @coversDefaultClass \Drupal\Component\PhpStorage\FileStorage[[api-linebreak]]
@group Drupal
@group PhpStorage
FileStorageTest class core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php Tests FileStorage operations.
FileStorageTest.php file core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
FileStorageTest.php file core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php
FileStorageTest::$directory property core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php A directory to store configuration in.
FileStorageTest::$standardSettings property core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php Standard test settings to pass to storage instances.
FileStorageTest::delete function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php Deletes configuration data from the storage.
FileStorageTest::insert function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php Inserts configuration data in the storage.
FileStorageTest::read function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php Reads configuration data from the storage.
FileStorageTest::setUp function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
FileStorageTest::setUp function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php
FileStorageTest::testCreateDirectoryFailWarning function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php @covers ::createDirectory[[api-linebreak]]
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[[api-linebreak]]
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::update function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php Updates configuration data in the storage.
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/Component/FileSystem/FileSystem.php
FileSystem.php file core/lib/Drupal/Core/File/FileSystem.php
FileSystem::$deprecatedProperties property core/lib/Drupal/Core/File/FileSystem.php
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.

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