drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL)
Creates a directory, optionally creating missing components in the path to the directory.
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::mkdir().
function drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL) { return \Drupal::service('file_system')->mkdir($uri, $mode, $recursive, $context); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!file.inc/function/drupal_mkdir/8.1.x