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 11.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.
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
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
CheckpointStorageTest::testWriteOperations function core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php @covers ::write[[api-linebreak]]
@covers ::delete[[api-linebreak]]
@covers ::rename[[api-linebreak]]
@covers ::deleteAll[[api-linebreak]]
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.
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
drupal_rewrite_settings function core/includes/install.inc Replaces values in settings.php with values in the submitted array.
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.
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.
FieldSqlStorageTest::testFieldWrite function core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php Tests field saving works correctly by reading directly from the tables.
file.htaccess_writer service core/core.services.yml Drupal\Core\File\HtaccessWriter
file.input_stream_file_writer service core/modules/file/file.services.yml Drupal\file\Upload\InputStreamFileWriter
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.
FileReadOnlyStorage::writeable function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php
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.
FileSecurity::writeHtaccess function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes an .htaccess file in the given directory, if it doesn't exist.
FileSecurity::writeWebConfig function composer/Plugin/VendorHardening/FileSecurity.php Writes a web.config file in the given directory, if it doesn't exist.
FileSecurity::writeWebConfig function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes a web.config file in the given directory, if it doesn't exist.
FileSecurityTest::testWriteHtaccessFailure function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess[[api-linebreak]]
FileSecurityTest::testWriteHtaccessForceOverwrite function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess[[api-linebreak]]
FileSecurityTest::testWriteHtaccessPrivate function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess[[api-linebreak]]
FileSecurityTest::testWriteHtaccessPublic function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess[[api-linebreak]]
FileSecurityTest::testWriteWebConfig function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeWebConfig[[api-linebreak]]

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