You are here

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.

... See full list

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_sync

Code

protected function getFileDirectory() {
  return Settings::get('tome_files_directory', '../files') . '/public';
}