Search for saveData

  1. Search 7.x for saveData
  2. Search 9.5.x for saveData
  3. Search 10.3.x for saveData
  4. Search 11.x for saveData
  5. Other projects
Title Object type File name Summary
FileSaveDataTest class core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php Tests the file_unmanaged_save_data() function.
FileSaveDataTest.php file core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php
FileSaveDataTest::testFileSaveData function core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php Test the file_unmanaged_save_data() function.
FileSystem::saveData function core/lib/Drupal/Core/File/FileSystem.php Saves a file to the specified destination without invoking file API.
FileSystemDeprecationTest::testDeprecatedUnmanagedSaveData function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php @expectedDeprecation file_unmanaged_save_data() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::saveData(). See https://www.drupal.org/node/3006851.
FileSystemInterface::saveData function core/lib/Drupal/Core/File/FileSystemInterface.php Saves a file to the specified destination without invoking file API.
RemoteFileSaveDataTest class core/tests/Drupal/KernelTests/Core/File/RemoteFileSaveDataTest.php Tests the unmanaged file save data function.
RemoteFileSaveDataTest.php file core/tests/Drupal/KernelTests/Core/File/RemoteFileSaveDataTest.php
RemoteFileSaveDataTest::$classname property core/tests/Drupal/KernelTests/Core/File/RemoteFileSaveDataTest.php A fully-qualified stream wrapper class name to register for the test.
RemoteFileSaveDataTest::$modules property core/tests/Drupal/KernelTests/Core/File/RemoteFileSaveDataTest.php Modules to enable.
RemoteFileSaveDataTest::$scheme property core/tests/Drupal/KernelTests/Core/File/RemoteFileSaveDataTest.php A stream wrapper scheme to register for the test.
RemoteFileSaveDataTest::setUp function core/tests/Drupal/KernelTests/Core/File/RemoteFileSaveDataTest.php
SaveDataTest class core/modules/file/tests/src/Kernel/SaveDataTest.php Tests the file_save_data() function.
SaveDataTest.php file core/modules/file/tests/src/Kernel/SaveDataTest.php
SaveDataTest::testExistingError function core/modules/file/tests/src/Kernel/SaveDataTest.php Test that file_save_data() fails overwriting an existing file.
SaveDataTest::testExistingRename function core/modules/file/tests/src/Kernel/SaveDataTest.php Test file_save_data() when renaming around an existing file.
SaveDataTest::testExistingReplace function core/modules/file/tests/src/Kernel/SaveDataTest.php Test file_save_data() when replacing an existing file.
SaveDataTest::testWithFilename function core/modules/file/tests/src/Kernel/SaveDataTest.php Test the file_save_data() function when a filename is provided.
SaveDataTest::testWithoutFilename function core/modules/file/tests/src/Kernel/SaveDataTest.php Test the file_save_data() function when no filename is provided.

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