Search for write

  1. Search 7.x for write
  2. Search 9.5.x for write
  3. Search 8.9.x for write
  4. Search 10.3.x for write
  5. Other projects
Title Object type File name Summary
AccountSwitcher::$writeSafeHandler property core/lib/Drupal/Core/Session/AccountSwitcher.php The write-safe session handler.
AliasManager::writeCache function core/modules/path_alias/src/AliasManager.php Cache an array of the paths available on each page. We assume that aliases
will be needed for the majority of these paths during subsequent requests,
and load them in a single query during path alias lookup.
AllowListConfigStorage::write function core/lib/Drupal/Core/Recipe/AllowListConfigStorage.php Writes configuration data to the storage.
BubblingTest::bubblingCacheOverwritePrerender function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php #pre_render callback for testOverWriteCacheKeys().
CacheDecoratorInterface::writeCache function core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php Write the cache.
CachedStorage::write function core/lib/Drupal/Core/Config/CachedStorage.php Writes configuration data to the storage.
ChainedFastBackend::$lastWriteTimestamp property core/lib/Drupal/Core/Cache/ChainedFastBackend.php The time at which the last write to this cache bin happened.
ChainedFastBackend::getLastWriteTimestamp function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Gets the last write timestamp.
ChainedFastBackend::LAST_WRITE_TIMESTAMP_PREFIX constant core/lib/Drupal/Core/Cache/ChainedFastBackend.php Cache key prefix for the bin-specific entry to track the last write.
CheckpointStorage::write function core/lib/Drupal/Core/Config/Checkpoint/CheckpointStorage.php Writes configuration data to the storage.
CheckpointStorageTest::testWriteOperations function core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php @covers ::write
@covers ::delete
@covers ::rename
@covers ::deleteAll
CheckpointStorageTest::writeMethodsProvider function core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php Provide the methods that throw an exception.
ClassWriter class core/tests/Drupal/TestTools/PhpUnitCompatibility/ClassWriter.php Helper class to rewrite PHPUnit's TestCase class.
ClassWriter.php file core/tests/Drupal/TestTools/PhpUnitCompatibility/ClassWriter.php
ClassWriter::alterAssert function core/tests/Drupal/TestTools/PhpUnitCompatibility/ClassWriter.php Alters the Assert class.
ClassWriter::alterTestCase function core/tests/Drupal/TestTools/PhpUnitCompatibility/ClassWriter.php Alters the TestCase class.
ClassWriter::flushAlteredCodeToFile function core/tests/Drupal/TestTools/PhpUnitCompatibility/ClassWriter.php Flushes altered class code to file when necessary.
ClassWriter::mutateTestBase function core/tests/Drupal/TestTools/PhpUnitCompatibility/ClassWriter.php Mutates PHPUnit classes to make it compatible with Drupal.
ClassWriter::__construct function core/tests/Drupal/TestTools/PhpUnitCompatibility/ClassWriter.php This class should not be instantiated.
ConfigFileContentTest::testReadWriteConfig function core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php Tests setting, writing, and reading of a configuration setting.
ConfigImporterTest::testSecondaryWritePrimaryFirst function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests that secondary writes are overwritten.
ConfigImporterTest::testSecondaryWriteSecondaryFirst function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests that secondary writes are overwritten.
ConfigInstallProfileOverrideTest::testInstallProfileConfigOverwrite function core/modules/config/tests/src/Functional/ConfigInstallProfileOverrideTest.php Tests install profile config changes.
CssOptimizer::$rewriteFileURIBasePath property core/lib/Drupal/Core/Asset/CssOptimizer.php The base path used by rewriteFileURI().
CssOptimizer::rewriteFileURI function core/lib/Drupal/Core/Asset/CssOptimizer.php Prefixes all paths within a CSS file for processFile().
DatabaseStorage::doWrite function core/lib/Drupal/Core/Config/DatabaseStorage.php Helper method so we can re-try a write.
DatabaseStorage::write function core/lib/Drupal/Core/Config/DatabaseStorage.php Writes configuration data to the storage.
DownloadTest::testWriteProtectedDestination function core/modules/migrate/tests/src/Kernel/process/DownloadTest.php Tests that an exception is thrown if the destination URI is not writable.
Drupal\file\Upload\InputStreamFileWriterInterface service core/modules/file/file.services.yml
Drupal\package_manager\Validator\OverwriteExistingPackagesValidator service core/modules/package_manager/package_manager.services.yml
EntityContentBaseTest::testOverwriteAllMappedProperties function core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php Tests overwriting all mapped properties in the destination entity.
EntityContentBaseTest::testOverwriteProperties function core/modules/migrate_drupal/tests/src/Kernel/d6/EntityContentBaseTest.php Tests overwriting selected properties in the destination entity.
EntityFieldTest::doTestReadWrite function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Executes the read write test set for a defined entity type.
EntityFieldTest::testFieldEntityRevisionWrite function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Test setting field values on revisionable entities.
EntityFieldTest::testReadWrite function core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php Tests reading and writing properties and field items.
FailureMarker::write function core/modules/package_manager/src/FailureMarker.php Writes data to marker file.
FieldItemBase::writePropertyValue function core/lib/Drupal/Core/Field/FieldItemBase.php Different to the parent Map class, we avoid creating property objects as
far as possible in order to optimize performance. Thus we just update
$this->values if no property object has been created yet.
FieldKernelTest::testRewrite function core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php Tests general rewriting of the output.
FieldKernelTest::testRewriteHtmlWithTokens function core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php Tests rewriting of the output with HTML.
FieldKernelTest::testRewriteHtmlWithTokensAndAggregation function core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php Tests rewriting of the output with HTML and aggregation.
FieldSqlStorageTest::testFieldWrite function core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php Tests field saving works correctly by reading directly from the tables.
file.input_stream_file_writer service core/modules/file/file.services.yml Drupal\file\Upload\InputStreamFileWriter
FileCopy::writeFile function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Tries to move or copy a file.
FileCopyTest::testOverwriteSelf function core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php Copy a file onto itself.
FileMoveTest::testOverwriteSelf function core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php Try to move a file onto itself.
FileRepository::writeData function core/modules/file/src/FileRepository.php
FileRepositoryInterface::writeData function core/modules/file/src/FileRepositoryInterface.php Writes a file to the specified destination and creates a file entity.
FileSecurity::writeFile function composer/Plugin/VendorHardening/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeFile function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeHtaccess function composer/Plugin/VendorHardening/FileSecurity.php Writes an .htaccess file in the given directory, if it doesn't exist.

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