function drupal_rmdir in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/includes/file.inc \drupal_rmdir()
Removes a directory.
Deprecated
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::rmdir().
Related topics
7 calls to drupal_rmdir()
- color_scheme_form_submit in core/
modules/ color/ color.module - Form submission handler for color_scheme_form().
- FileStorage::deleteAll in core/
lib/ Drupal/ Core/ Config/ FileStorage.php - Deletes configuration objects whose names start with a given prefix.
- file_unmanaged_delete_recursive in core/
includes/ file.inc - Deletes all files and directories in the specified filepath recursively.
- Local::removeDirectoryJailed in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php - Removes a directory.
- locale_uninstall in core/
modules/ locale/ locale.install - Implements hook_uninstall().
File
- core/
includes/ file.inc, line 1085 - API for handling file uploads and server file management.
Code
function drupal_rmdir($uri, $context = NULL) {
return \Drupal::service('file_system')
->rmdir($uri, $context);
}