Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
file.module
»
file_save_data
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
7 calls to file_save_data()
SaveDataTest::testExistingError
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test that
file_save_data
() fails overwriting an existing file.
SaveDataTest::testExistingRename
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test
file_save_data
() when renaming around an existing file.
SaveDataTest::testExistingReplace
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test
file_save_data
() when replacing an existing file.
SaveDataTest::testWithFilename
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test the
file_save_data
() function when a filename is provided.
SaveDataTest::testWithoutFilename
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test the
file_save_data
() function when no filename is provided.
system_retrieve_file
in drupal/
core/
modules/
system/
system.module
Attempts to get a file using drupal_http_request and to store it locally.
UsageTest::testTempFileCleanup
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
UsageTest.php
Ensure that temporary files are removed.