You are here

constant FILE_CREATE_DIRECTORY in Drupal 8

Same name and namespace in other branches
  1. 4 includes/file.inc \FILE_CREATE_DIRECTORY
  2. 5 includes/file.inc \FILE_CREATE_DIRECTORY
  3. 6 includes/file.inc \FILE_CREATE_DIRECTORY
  4. 7 includes/file.inc \FILE_CREATE_DIRECTORY

Flag used to create a directory if not present.

Deprecated

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY.

Related topics

File

core/includes/file.inc, line 52
API for handling file uploads and server file management.

Code

const FILE_CREATE_DIRECTORY = FileSystemInterface::CREATE_DIRECTORY;