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.
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 Render API callback: Used for testing testOverWriteCacheKeys().
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 Tests write operations.
CheckpointStorageTest::writeMethodsProvider function core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php Provide the methods that throw an exception.
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 Writes configuration data to the storage.
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
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.
FileSecurity::writeFile function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeHtaccess function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes an .htaccess file in the given directory, if it doesn't exist.
FileSecurityTest::testWriteHtaccessFailure function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @legacy-covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessForceOverwrite function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @legacy-covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessPrivate function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @legacy-covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessPublic function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @legacy-covers ::writeHtaccess
FileStorage::write function core/lib/Drupal/Core/Config/FileStorage.php Writes configuration data to the storage.
FileSystemTest::testCopyFailureIfSelfOverwrite function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy[[api-linebreak]]
FileWriteException class core/lib/Drupal/Core/File/Exception/FileWriteException.php Exception thrown when file cannot be written to disk.
FileWriteException.php file core/lib/Drupal/Core/File/Exception/FileWriteException.php
FormHelper::rewriteStatesSelector function core/lib/Drupal/Core/Form/FormHelper.php Rewrites #states selectors in a render element.
FormHelperTest::testRewriteStatesSelector function core/tests/Drupal/Tests/Core/Form/FormHelperTest.php Tests rewriting the #states selectors.
FunctionalTestSetupTrait::writeSettings function core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Rewrites the settings.php file of the test site.
GenerateThemeTest::writeStarterkitConfig function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php
HookCollectorPass::writeImplementationsToContainer function core/lib/Drupal/Core/Hook/HookCollectorPass.php Writes all implementations to the container.
HookCollectorPass::writeToContainer function core/lib/Drupal/Core/Hook/HookCollectorPass.php Writes collected definitions to the container builder.
HtaccessTest::$htaccessWriter property core/tests/Drupal/KernelTests/Core/File/HtaccessTest.php The Htaccess class under test.
HtaccessWriter class core/lib/Drupal/Core/File/HtaccessWriter.php Provides functions to manage Apache .htaccess files.
HtaccessWriter.php file core/lib/Drupal/Core/File/HtaccessWriter.php
HtaccessWriter::defaultProtectedDirs function core/lib/Drupal/Core/File/HtaccessWriter.php Returns a list of the default protected directories.
HtaccessWriter::ensure function core/lib/Drupal/Core/File/HtaccessWriter.php Creates a .htaccess file in each Drupal files directory if it is missing.
HtaccessWriter::write function core/lib/Drupal/Core/File/HtaccessWriter.php Creates a .htaccess file in the given directory.
HtaccessWriter::__construct function core/lib/Drupal/Core/File/HtaccessWriter.php Htaccess constructor.
HtaccessWriterInterface interface core/lib/Drupal/Core/File/HtaccessWriterInterface.php Interface for managing Apache .htaccess files.
HtaccessWriterInterface.php file core/lib/Drupal/Core/File/HtaccessWriterInterface.php

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