file_default_scheme()
Gets the default file stream implementation.
Return value
string 'public', 'private' or any other file scheme defined as the default.
Related topics
- File interface
- Common file handling functions.
File
- core/includes/file.inc, line 124
- API for handling file uploads and server file management.
Code
function file_default_scheme() { return \Drupal::config('system.file')->get('default_scheme'); }
Please login to continue.