8 calls to file_save_data() in Zircon Profile 8
- FileItem::generateSampleValue in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - Generates placeholder field values.
- SaveDataTest::testExistingError in core/
modules/ file/ src/ Tests/ SaveDataTest.php - Test that file_save_data() fails overwriting an existing file.
- SaveDataTest::testExistingRename in core/
modules/ file/ src/ Tests/ SaveDataTest.php - Test file_save_data() when renaming around an existing file.
- SaveDataTest::testExistingReplace in core/
modules/ file/ src/ Tests/ SaveDataTest.php - Test file_save_data() when replacing an existing file.
- SaveDataTest::testWithFilename in core/
modules/ file/ src/ Tests/ SaveDataTest.php - Test the file_save_data() function when a filename is provided.
- SaveDataTest::testWithoutFilename in core/
modules/ file/ src/ Tests/ SaveDataTest.php - Test the file_save_data() function when no filename is provided.
- system_retrieve_file in core/
modules/ system/ system.module - Attempts to get a file using Guzzle HTTP client and to store it locally.
- UsageTest::createTempFiles in core/
modules/ file/ src/ Tests/ UsageTest.php - Create files for all the possible combinations of age and status.