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 10.3.x for files
  5. Other projects
Title Object type File name Summary
FileStorage::$collection property core/lib/Drupal/Core/Config/FileStorage.php The storage collection.
FileStorage::$directory property core/lib/Drupal/Core/Config/FileStorage.php The filesystem path for configuration objects.
FileStorage::$directory property core/lib/Drupal/Component/PhpStorage/FileStorage.php The directory where the files should be stored.
FileStorage::$fileCache property core/lib/Drupal/Core/Config/FileStorage.php The file cache object.
FileStorage::createCollection function core/lib/Drupal/Core/Config/FileStorage.php Creates a collection on the storage.
FileStorage::createDirectory function core/lib/Drupal/Component/PhpStorage/FileStorage.php Ensures the requested directory exists and has the right permissions.
FileStorage::decode function core/lib/Drupal/Core/Config/FileStorage.php Decodes configuration data from the storage-specific format.
FileStorage::delete function core/lib/Drupal/Core/Config/FileStorage.php Deletes a configuration object from the storage.
FileStorage::delete function core/lib/Drupal/Component/PhpStorage/FileStorage.php Deletes PHP code from storage.
FileStorage::deleteAll function core/lib/Drupal/Core/Config/FileStorage.php Deletes configuration objects whose names start with a given prefix.
FileStorage::deleteAll function core/lib/Drupal/Component/PhpStorage/FileStorage.php Removes all files in this bin.
FileStorage::encode function core/lib/Drupal/Core/Config/FileStorage.php Encodes configuration data into the storage-specific format.
FileStorage::ensureDirectory function core/lib/Drupal/Component/PhpStorage/FileStorage.php Ensures the directory exists, has the right permissions, and a .htaccess.
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::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::__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.
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::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.

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