FileSystemInterface::CREATE_DIRECTORY

Same name in other branches
  1. 9 core/lib/Drupal/Core/File/FileSystemInterface.php \Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY
  2. 8.9.x core/lib/Drupal/Core/File/FileSystemInterface.php \Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY
  3. 11.x core/lib/Drupal/Core/File/FileSystemInterface.php \Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY

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

File

core/lib/Drupal/Core/File/FileSystemInterface.php, line 43

Class

FileSystemInterface
Provides an interface for helpers that operate on files and stream wrappers.

Namespace

Drupal\Core\File

Code

const CREATE_DIRECTORY = 1;

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