Search for write

  1. Search 7.x for write
  2. Search 8.9.x for write
  3. Search 10.3.x for write
  4. Search 11.x for write
  5. Other projects
Title Object type File name Summary
FileReadOnlyStorage::writeable function core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php Whether this is a writable storage.
FileRepository::writeData function core/modules/file/src/FileRepository.php Writes a file to the specified destination and creates a file entity.
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
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
FileSecurityTest::testWriteWebConfig function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeWebConfig
FileSecurityTest::testWriteWebConfigFailure function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeWebConfig
FileSecurityTest::testWriteWebConfigForceOverwrite function core/tests/Drupal/Tests/Component/FileSecurity/FileSecurityTest.php @covers ::writeWebConfig
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.
FileStorageReadOnlyTest::testWriteable function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php @covers ::writeable
FileStorageTest::testWriteable function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php @covers ::writeable
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.
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.
HtmlOutputPrinterTrait::simpletestUiWrite function core/tests/Drupal/Tests/Listeners/HtmlOutputPrinterTrait.php Prints HTML output links for the Simpletest UI.
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.
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.
LOCALE_TRANSLATION_OVERWRITE_NON_CUSTOMIZED 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.