public function TempFileAdapterInterface::createTempFile in Backup and Migrate 5.0.x
Get a temporary file that can be written to.
Parameters
string $ext: The file extension to add to the temp file.
Return value
string The path to the file.
1 method overrides TempFileAdapterInterface::createTempFile()
- TempFileAdapter::createTempFile in src/
Core/ File/ TempFileAdapter.php - Get a temporary file that can be written to.
File
- src/
Core/ File/ TempFileAdapterInterface.php, line 19
Class
- TempFileAdapterInterface
- A service to provision temp files in the correct place for the environment.
Namespace
Drupal\backup_migrate\Core\FileCode
public function createTempFile($ext = '');