Search for storage

  1. Search 7.x for storage
  2. Search 9.5.x for storage
  3. Search 10.3.x for storage
  4. Search 11.x for storage
  5. Other projects
Title Object type File name Summary
FileStorage.php file core/lib/Drupal/Component/PhpStorage/FileStorage.php
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/Component/PhpStorage/FileStorage.php Removes all files in this bin.
FileStorage::deleteAll function core/lib/Drupal/Core/Config/FileStorage.php Deletes configuration objects whose names start with a given prefix.
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::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/Component/PhpStorage/FileStorage.php Lists all the files in the storage.
FileStorage::listAll function core/lib/Drupal/Core/Config/FileStorage.php Gets configuration object names starting with a given prefix.
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/Component/PhpStorage/FileStorage.php Constructs this FileStorage object.
FileStorage::__construct function core/lib/Drupal/Core/Config/FileStorage.php Constructs a new FileStorage.
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

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