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
DirectWriteTest::$postRequireMaintenanceMode property core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php Whether we are in maintenance mode after a require operation.
DirectWriteTest::$preRequireMaintenanceMode property core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php Whether we are in maintenance mode before a require operation.
DirectWriteTest::assertNotDirectWrite function core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php Event listener that asserts the sandbox manager isn't in direct-write mode.
DirectWriteTest::getSubscribedEvents function core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php
DirectWriteTest::onPostRequire function core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php Event listener that records the maintenance mode flag on post-require.
DirectWriteTest::onPreRequire function core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php Event listener that records the maintenance mode flag on pre-require.
DirectWriteTest::setUp function core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php
DirectWriteTest::testDirectWriteFlagIsLocked function core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php Tests that the sandbox's direct-write status is part of its locking info.
DirectWriteTest::testMaintenanceModeNotEnteredIfErrorOnPreRequire function core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php Tests that pre-require errors prevent maintenance mode during direct-write.
DirectWriteTest::testSiteNotSandboxedIfDirectWriteGloballyEnabled function core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php Tests direct-write mode when globally enabled.
DirectWriteTest::testSiteSandboxedIfDirectWriteGloballyDisabled function core/modules/package_manager/tests/src/Kernel/DirectWriteTest.php Tests that direct-write does not work if it is globally disabled.
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\file\Upload\InputStreamFileWriterInterface service core/modules/file/file.services.yml
Drupal\package_manager\DirectWritePreconditionBypass service core/modules/package_manager/package_manager.services.yml
Drupal\package_manager\EventSubscriber\DirectWriteSubscriber service core/modules/package_manager/package_manager.services.yml
Drupal\package_manager\Validator\OverwriteExistingPackagesValidator service core/modules/package_manager/package_manager.services.yml
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.
FailureMarker::write function core/modules/package_manager/src/FailureMarker.php Writes data to marker file.
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.input_stream_file_writer service core/modules/file/file.services.yml Drupal\file\Upload\InputStreamFileWriter
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.
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.
FileSecurity::writeFile function core/lib/Drupal/Component/FileSecurity/FileSecurity.php Writes the contents to the file in the given directory.
FileSecurity::writeFile function composer/Plugin/VendorHardening/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::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 Writes a directory structure to the filesystem.
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

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