function patterns_path_get_files_dir in Patterns 7
Same name and namespace in other branches
- 7.2 includes/path.inc \patterns_path_get_files_dir()
Return the path to the directory containing the patterns files (imported or executed ones).
We do not use directly variable_get because it had some issues with the batch
17 calls to patterns_path_get_files_dir()
- PatternsExportTestCase::testExportTaxonomy in tests/
exporting/ exporting.test - PatternsImportTestCase::testImportFileFromFile in tests/
importing/ importing.test - PatternsImportTestCase::testImportFileFromSource in tests/
importing/ importing.test - PatternsImportTestCase::testImportFileFromURL in tests/
importing/ importing.test - patterns_edit_validate in includes/
forms/ editor.inc - Form validation handler for patterns_edit_form().
File
- includes/
path.inc, line 18
Code
function patterns_path_get_files_dir() {
return drupal_realpath(variable_get('patterns_save_file', PATTERNS_FILES_DIR_DEFAULT));
}