Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
file.inc
»
drupal_chmod
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
10 calls to drupal_chmod()
DirectoryTest::testFileCheckDirectoryHandling
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
DirectoryTest.php
Test directory handling functions.
file_prepare_directory
in drupal/
core/
includes/
file.inc
Checks that the directory exists and is writable.
file_save_htaccess
in drupal/
core/
includes/
file.inc
Creates a .htaccess file in the given directory.
file_save_upload
in drupal/
core/
includes/
file.inc
Saves file uploads to a new location.
file_unmanaged_copy
in drupal/
core/
includes/
file.inc
Copies a file to a new location without invoking the file API.
image_save
in drupal/
core/
includes/
image.inc
Closes the image and saves the changes to a file.
ReadOnlyStreamWrapperTest::testWriteFunctions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
ReadOnlyStreamWrapperTest.php
Test write functionality of the read-only stream wrapper.
system_check_directory
in drupal/
core/
modules/
system/
system.module
Checks the existence of the directory specified in $form_element.
_color_render_images
in drupal/
core/
modules/
color/
color.module
Renders images that match a given palette.
_color_save_stylesheet
in drupal/
core/
modules/
color/
color.module
Saves the rewritten stylesheet to disk.