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.
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.
BubblingTest::bubblingCacheOverwritePrerender function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php #pre_render callback for 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 @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.
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_rewrite_settings function core/includes/install.inc Replaces values in settings.php with values in the submitted array.
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.
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.htaccess_writer service core/core.services.yml Drupal\Core\File\HtaccessWriter
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.
FileReadOnlyStorage::writeable function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Whether this is a writable storage.
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.
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]]
FileSecurityTest::testWriteWebConfigFailure function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeWebConfig[[api-linebreak]]
FileSecurityTest::testWriteWebConfigForceOverwrite function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeWebConfig[[api-linebreak]]
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.
FileSystemTest::testCopyFailureIfSelfOverwrite function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy[[api-linebreak]]
FileTransferTest::_writeDirectory function core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php
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.

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