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
PoMemoryWriter::writeItem function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Writes the given item.
PoMemoryWriter::writeItems function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Writes all or the given amount of items.
PoMemoryWriter::__construct function core/lib/Drupal/Component/Gettext/PoMemoryWriter.php Constructor, initialize empty items.
PoStreamWriter class core/lib/Drupal/Component/Gettext/PoStreamWriter.php Defines a Gettext PO stream writer.
PoStreamWriter.php file core/lib/Drupal/Component/Gettext/PoStreamWriter.php
PoStreamWriter::$fd property core/lib/Drupal/Component/Gettext/PoStreamWriter.php File handle of the current PO stream.
PoStreamWriter::$header property core/lib/Drupal/Component/Gettext/PoStreamWriter.php The Gettext PO header.
PoStreamWriter::$langcode property core/lib/Drupal/Component/Gettext/PoStreamWriter.php The language code of this writer.
PoStreamWriter::$uri property core/lib/Drupal/Component/Gettext/PoStreamWriter.php URI of the PO stream that is being written.
PoStreamWriter::close function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Implements Drupal\Component\Gettext\PoStreamInterface::close().
PoStreamWriter::getHeader function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the PO header of the current stream.
PoStreamWriter::getLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Gets the current language code used.
PoStreamWriter::getURI function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Implements Drupal\Component\Gettext\PoStreamInterface::getURI().
PoStreamWriter::open function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Open the stream. Set the URI for the stream earlier with setURI().
PoStreamWriter::setHeader function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the PO header for the current stream.
PoStreamWriter::setLangcode function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the language code.
PoStreamWriter::setURI function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Set the URI of the PO stream that is going to be read or written.
PoStreamWriter::write function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Write data to the stream.
PoStreamWriter::writeHeader function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Write the PO header to the stream.
PoStreamWriter::writeItem function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Writes the given item.
PoStreamWriter::writeItems function core/lib/Drupal/Component/Gettext/PoStreamWriter.php Writes all or the given amount of items.
PoStreamWriterTest class core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @coversDefaultClass \Drupal\Component\Gettext\PoStreamWriter
@group Gettext
PoStreamWriterTest.php file core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php
PoStreamWriterTest::$poFile property core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php The mock po file.
PoStreamWriterTest::$poWriter property core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php The PO writer object under test.
PoStreamWriterTest::providerWriteData function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php
PoStreamWriterTest::setUp function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php
PoStreamWriterTest::testCloseException function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @covers ::close
PoStreamWriterTest::testGetUriException function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @covers ::getURI
PoStreamWriterTest::testWriteItem function core/tests/Drupal/Tests/Component/Gettext/PoStreamWriterTest.php @covers ::writeItem
@dataProvider providerWriteData
PoWriterInterface interface core/lib/Drupal/Component/Gettext/PoWriterInterface.php Shared interface definition for all Gettext PO Writers.
PoWriterInterface.php file core/lib/Drupal/Component/Gettext/PoWriterInterface.php
PoWriterInterface::writeItem function core/lib/Drupal/Component/Gettext/PoWriterInterface.php Writes the given item.
PoWriterInterface::writeItems function core/lib/Drupal/Component/Gettext/PoWriterInterface.php Writes all or the given amount of items.
ReadOnlyStorage::write function core/lib/Drupal/Core/Config/ReadOnlyStorage.php Writes configuration data to the storage.
ReadOnlyStorageTest::testWriteOperations function core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php @covers ::write
@covers ::delete
@covers ::rename
@covers ::deleteAll
ReadOnlyStorageTest::writeMethodsProvider function core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php Provide the methods that throw an exception.
ReadOnlyStream::stream_write function core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php Support for fwrite(), file_put_contents() etc.
RelationLinkManager::writeCache function core/modules/hal/src/LinkManager/RelationLinkManager.php Writes the cache of relation links.
RendererBubblingTest::testOverWriteCacheKeys function core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php Tests that an element's cache keys cannot be changed during its rendering.
ReplaceOp::$overwrite property composer/Plugin/Scaffold/Operations/ReplaceOp.php Whether to overwrite existing files.
RequirementsTest::writeIsolationLevelSettings function core/modules/mysql/tests/src/Functional/RequirementsTest.php Writes the isolation level in settings.php.
SecurityAdvisoryTest::writeSettings function core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php Rewrites the settings.php file of the test site.
SessionHandler::write function core/lib/Drupal/Core/Session/SessionHandler.php
SessionManager::$writeSafeHandler property core/lib/Drupal/Core/Session/SessionManager.php The write safe session handler.
SessionManager::setWriteSafeHandler function core/lib/Drupal/Core/Session/SessionManager.php Sets the write safe session handler.
SessionManagerInterface::setWriteSafeHandler function core/lib/Drupal/Core/Session/SessionManagerInterface.php Sets the write safe session handler.
SessionTest::testSessionWrite function core/modules/system/tests/src/Functional/Session/SessionTest.php Tests that sessions are only saved when necessary.
session_handler.write_safe service core/core.services.yml Drupal\Core\Session\WriteSafeSessionHandler
SettingsRewriteTest class core/tests/Drupal/KernelTests/Core/Site/SettingsRewriteTest.php Tests the drupal_rewrite_settings() function.

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