Search for to

  1. Search 7.x for to
  2. Search 9.5.x for to
  3. Search 8.9.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
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.
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[[api-linebreak]]
@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[[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.
FileStorageReadOnlyTest::testWritable function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php @covers ::writeable[[api-linebreak]]
@group legacy
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
FileStorageTest::insert function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
FileStorageTest::read function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
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::testWritable function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php @covers ::writeable[[api-linebreak]]
@group legacy
FileStorageTest::update function core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php
FileSystem::CHMOD_DIRECTORY constant core/lib/Drupal/Core/File/FileSystem.php Default mode for new directories. See self::chmod().
FileSystem::doScanDirectory function core/lib/Drupal/Core/File/FileSystem.php Internal function to handle directory scanning with recursion.
FileSystem::getOsTemporaryDirectory function core/lib/Drupal/Component/FileSystem/FileSystem.php Discovers a writable system-appropriate temporary directory.
FileSystem::getTempDirectory function core/lib/Drupal/Core/File/FileSystem.php Gets the path of the configured temporary directory.
FileSystem::prepareDirectory function core/lib/Drupal/Core/File/FileSystem.php Checks that the directory exists and is writable.

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