You are here

constant FILE_CHMOD_DIRECTORY in Drupal 8

Default mode for new directories.

Deprecated

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystem::CHMOD_DIRECTORY.

See also

\Drupal\Core\File\FileSystemInterface::chmod()

https://www.drupal.org/node/2418133

File

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

Code

const FILE_CHMOD_DIRECTORY = FileSystem::CHMOD_DIRECTORY;