protected function FileSync::getFileDirectory in Tome 8
Gets the file directory.
Return value
string The file directory.
6 calls to FileSync::getFileDirectory()
- FileSync::deleteExportDirectory in modules/
tome_sync/ src/ FileSync.php - Deletes the file export directory.
- FileSync::deleteFile in modules/
tome_sync/ src/ FileSync.php - Deletes an exported file by name.
- FileSync::deleteFileExport in modules/
tome_sync/ src/ FileSync.php - Deletes an exported file by entity.
- FileSync::ensureFileDirectory in modules/
tome_sync/ src/ FileSync.php - Ensures that the file directory exists.
- FileSync::exportFile in modules/
tome_sync/ src/ FileSync.php - Exports a file to the export directory.
File
- modules/
tome_sync/ src/ FileSync.php, line 112
Class
- FileSync
- Handles file import and exports by keeping a file export directory in sync.
Namespace
Drupal\tome_syncCode
protected function getFileDirectory() {
return Settings::get('tome_files_directory', '../files') . '/public';
}