FILE_CREATE_DIRECTORY

Same name in other branches
  1. 7.x 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

Code

const FILE_CREATE_DIRECTORY = FileSystemInterface::CREATE_DIRECTORY;

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