Search for file

  1. Search 7.x for file
  2. Search 9.5.x for file
  3. Search 10.3.x for file
  4. Search 11.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
FileStorage::ensureStorage function core/lib/Drupal/Core/Config/FileStorage.php Check if the directory exists and create it if not.
FileStorage::exists function core/lib/Drupal/Core/Config/FileStorage.php Returns whether a configuration object exists.
FileStorage::exists function core/lib/Drupal/Component/PhpStorage/FileStorage.php Checks whether the PHP code exists in storage.
FileStorage::garbageCollection function core/lib/Drupal/Component/PhpStorage/FileStorage.php Performs garbage collection on the storage.
FileStorage::getAllCollectionNames function core/lib/Drupal/Core/Config/FileStorage.php Gets the existing collections.
FileStorage::getAllCollectionNamesHelper function core/lib/Drupal/Core/Config/FileStorage.php Helper function for getAllCollectionNames().
FileStorage::getCollectionDirectory function core/lib/Drupal/Core/Config/FileStorage.php Gets the directory for the collection.
FileStorage::getCollectionName function core/lib/Drupal/Core/Config/FileStorage.php Gets the name of the current collection the storage is using.
FileStorage::getFileExtension function core/lib/Drupal/Core/Config/FileStorage.php Returns the file extension used by the file storage for all configuration files.
FileStorage::getFilePath function core/lib/Drupal/Core/Config/FileStorage.php Returns the path to the configuration file.
FileStorage::getFileSystem function core/lib/Drupal/Core/Config/FileStorage.php Returns file system service.
FileStorage::getFullPath function core/lib/Drupal/Component/PhpStorage/FileStorage.php Gets the full file path.
FileStorage::htaccessLines function core/lib/Drupal/Component/PhpStorage/FileStorage.php Returns the standard .htaccess lines that Drupal writes to file directories.
FileStorage::listAll function core/lib/Drupal/Core/Config/FileStorage.php Gets configuration object names starting with a given prefix.
FileStorage::listAll function core/lib/Drupal/Component/PhpStorage/FileStorage.php Lists all the files in the storage.
FileStorage::load function core/lib/Drupal/Component/PhpStorage/FileStorage.php Loads PHP code from storage.
FileStorage::read function core/lib/Drupal/Core/Config/FileStorage.php Implements Drupal\Core\Config\StorageInterface::read().
FileStorage::readMultiple function core/lib/Drupal/Core/Config/FileStorage.php Reads configuration data from the storage.
FileStorage::rename function core/lib/Drupal/Core/Config/FileStorage.php Renames a configuration object in the storage.
FileStorage::save function core/lib/Drupal/Component/PhpStorage/FileStorage.php Saves PHP code to storage.
FileStorage::spaceUsed function core/modules/file/src/FileStorage.php Determines total disk space used by a single user or the whole filesystem.
FileStorage::unlink function core/lib/Drupal/Component/PhpStorage/FileStorage.php Deletes files and/or directories in the specified path.
FileStorage::write function core/lib/Drupal/Core/Config/FileStorage.php Writes configuration data to the storage.
FileStorage::writeable function core/lib/Drupal/Component/PhpStorage/FileStorage.php Whether this is a writable storage.
FileStorage::__construct function core/lib/Drupal/Core/Config/FileStorage.php Constructs a new FileStorage.
FileStorage::__construct function core/lib/Drupal/Component/PhpStorage/FileStorage.php Constructs this FileStorage object.
FileStorageDeprecationTest class core/tests/Drupal/Tests/Component/PhpStorage/FileStorageDeprecationTest.php Tests FileStorage deprecations.
FileStorageDeprecationTest.php file core/tests/Drupal/Tests/Component/PhpStorage/FileStorageDeprecationTest.php
FileStorageDeprecationTest::testHtAccessLines function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageDeprecationTest.php @expectedDeprecation htaccessLines() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Component\FileSecurity\FileSecurity::htaccessLines() instead. See https://www.drupal.org/node/3075098
FileStorageFactory class core/lib/Drupal/Core/Config/FileStorageFactory.php Provides a factory for creating config file storage objects.
FileStorageFactory.php file core/lib/Drupal/Core/Config/FileStorageFactory.php
FileStorageFactory::getActive function core/lib/Drupal/Core/Config/FileStorageFactory.php Returns a FileStorage object working with the active config directory.
FileStorageFactory::getSync function core/lib/Drupal/Core/Config/FileStorageFactory.php Returns a FileStorage object working with the sync config directory.
FileStorageFactoryTest class core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php @coversDefaultClass \Drupal\Core\Config\FileStorageFactory
@group config
FileStorageFactoryTest.php file core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php
FileStorageFactoryTest::testGetSync function core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php @covers ::getSync
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
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
FileStorageReadOnlyTest::testReadOnly function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php Tests writing with one class and reading with another.
FileStorageReadOnlyTest::testWriteable function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php @covers ::writeable
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.

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