FILE_CREATE_DIRECTORY

Same name and namespace in other branches
  1. 8.9.x core/includes/file.inc \FILE_CREATE_DIRECTORY

Flag used by file_prepare_directory() -- create directory if not present.

Related topics

23 uses of FILE_CREATE_DIRECTORY
color_scheme_form_submit in modules/color/color.module
Form submission handler for color_scheme_form().
DrupalUnitTestCase::setUp in modules/simpletest/drupal_web_test_case.php
Sets up unit test environment.
DrupalWebTestCase::prepareEnvironment in modules/simpletest/drupal_web_test_case.php
Prepares the current environment for running the test.
drupal_build_css_cache in includes/common.inc
Aggregates and optimizes CSS files into a cache file in the files directory.
drupal_build_js_cache in includes/common.inc
Aggregates JavaScript files into a cache file in the files directory.

... See full list

File

includes/file.inc, line 41

Code

define('FILE_CREATE_DIRECTORY', 1);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.