constant FILE_MODIFY_PERMISSIONS in Drupal 7
Same name and namespace in other branches
- 8 core/includes/file.inc \FILE_MODIFY_PERMISSIONS
- 4 includes/file.inc \FILE_MODIFY_PERMISSIONS
- 5 includes/file.inc \FILE_MODIFY_PERMISSIONS
- 6 includes/file.inc \FILE_MODIFY_PERMISSIONS
Flag used by file_prepare_directory() -- file permissions may be changed.
Related topics
6 uses of FILE_MODIFY_PERMISSIONS
- 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.
- FileDirectoryTest::testFileCheckDirectoryHandling in modules/
simpletest/ tests/ file.test - Test directory handling functions.
- file_prepare_directory in includes/
file.inc - Checks that the directory exists and is writable.
- image_install in modules/
image/ image.install - Implements hook_install().
File
- includes/
file.inc, line 46 - API for handling file uploads and server file management.
Code
define('FILE_MODIFY_PERMISSIONS', 2);