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
FileSecurity::writeHtaccess function composer/Plugin/VendorHardening/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 @covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessForceOverwrite function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessPrivate function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeHtaccess
FileSecurityTest::testWriteHtaccessPublic function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @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
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.
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
history_write function core/modules/history/history.module Updates 'last viewed' timestamp of the specified entity for the current user.
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::$logger property core/lib/Drupal/Core/File/HtaccessWriter.php The logger.
HtaccessWriter::$streamWrapperManager property core/lib/Drupal/Core/File/HtaccessWriter.php The stream wrapper manager.
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
HtaccessWriterInterface::defaultProtectedDirs function core/lib/Drupal/Core/File/HtaccessWriterInterface.php Returns a list of the default protected directories.
HtaccessWriterInterface::ensure function core/lib/Drupal/Core/File/HtaccessWriterInterface.php Creates a .htaccess file in each Drupal files directory if it is missing.
InfoWriterTrait trait core/tests/Drupal/TestTools/Extension/InfoWriterTrait.php Writes the info file and ensures the mtime changes.
InfoWriterTrait.php file core/tests/Drupal/TestTools/Extension/InfoWriterTrait.php
InfoWriterTrait::writeInfoFile function core/tests/Drupal/TestTools/Extension/InfoWriterTrait.php Writes the info file and ensures the mtime changes.
InputStreamFileWriter class core/modules/file/src/Upload/InputStreamFileWriter.php Writes files from a input stream to a temporary file.
InputStreamFileWriter.php file core/modules/file/src/Upload/InputStreamFileWriter.php
InputStreamFileWriter::writeStreamToFile function core/modules/file/src/Upload/InputStreamFileWriter.php
InputStreamFileWriter::__construct function core/modules/file/src/Upload/InputStreamFileWriter.php Creates a new InputStreamFileUploader.
InputStreamFileWriterInterface interface core/modules/file/src/Upload/InputStreamFileWriterInterface.php Uploads files from a stream.
InputStreamFileWriterInterface.php file core/modules/file/src/Upload/InputStreamFileWriterInterface.php
InputStreamFileWriterInterface::DEFAULT_BYTES_TO_READ constant core/modules/file/src/Upload/InputStreamFileWriterInterface.php The length of bytes to read in each iteration when streaming file data.
InputStreamFileWriterInterface::DEFAULT_STREAM constant core/modules/file/src/Upload/InputStreamFileWriterInterface.php The default stream.
InputStreamFileWriterInterface::writeStreamToFile function core/modules/file/src/Upload/InputStreamFileWriterInterface.php Write the input stream to a temporary file.
InstallStorage::write function core/lib/Drupal/Core/Config/InstallStorage.php Overrides Drupal\Core\Config\FileStorage::write().
JsonApiFunctionalTest::testWrite function core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTest.php Tests POST, PATCH and DELETE.
LanguageNegotiationSession::$queryRewrite property core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationSession.php Flag used to determine whether query rewriting is active.
LegacySettingsRewriteTest class core/tests/Drupal/KernelTests/Core/Site/LegacySettingsRewriteTest.php Tests the drupal_rewrite_settings() function.
LegacySettingsRewriteTest.php file core/tests/Drupal/KernelTests/Core/Site/LegacySettingsRewriteTest.php
LegacySettingsRewriteTest::testDrupalRewriteSettings function core/tests/Drupal/KernelTests/Core/Site/LegacySettingsRewriteTest.php Tests the drupal_rewrite_settings() function.
LocaleImportFunctionalTest::getCustomOverwritePoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a .po file for testing customized strings.
LocaleImportFunctionalTest::getOverwritePoFile function core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php Helper function that returns a proper .po file for testing.
LOCALE_TRANSLATION_OVERWRITE_ALL constant core/modules/locale/locale.module UI option for override of existing translations. Override any translation.
LOCALE_TRANSLATION_OVERWRITE_NONE constant core/modules/locale/locale.module UI option for override of existing translations.

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