You are here

function patterns_path_get_files_dir in Patterns 7

Same name and namespace in other branches
  1. 7.2 includes/ \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/
Form validation handler for patterns_edit_form().

... See full list


includes/, line 18


function patterns_path_get_files_dir() {
  return drupal_realpath(variable_get('patterns_save_file', PATTERNS_FILES_DIR_DEFAULT));