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_mkdir
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
11 calls to drupal_mkdir()
ArchiveTar::_dirCheck
in drupal/
core/
lib/
Drupal/
Component/
Archiver/
ArchiveTar.php
Check if a directory exists and create it (including parent dirs) if not.
ArchiveTar::_extractList
in drupal/
core/
lib/
Drupal/
Component/
Archiver/
ArchiveTar.php
Connection::createDatabase
in drupal/
core/
lib/
Drupal/
Core/
Database/
Driver/
sqlite/
Connection.php
Overrides
\Drupal\Core\Database\Connection::createDatabase
().
DirectoryTest::testFileCheckLocalDirectoryHandling
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
DirectoryTest.php
Test local directory handling functions.
drupal_install_mkdir
in drupal/
core/
includes/
install.inc
Creates a directory with the specified permissions.
FileTestBase::createDirectory
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
FileTestBase.php
Create a directory and assert it exists.
file_prepare_directory
in drupal/
core/
includes/
file.inc
Checks that the directory exists and is writable.
LocalStream::mkdir
in drupal/
core/
lib/
Drupal/
Core/
StreamWrapper/
LocalStream.php
Support for
mkdir
().
ReadOnlyStreamWrapperTest::testWriteFunctions
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
ReadOnlyStreamWrapperTest.php
Test write functionality of the read-only stream wrapper.
RetrieveFileTest::testFileRetrieving
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
System/
RetrieveFileTest.php
Invokes
system_retrieve_file
() in several scenarios.
system_check_directory
in drupal/
core/
modules/
system/
system.module
Checks the existence of the directory specified in $form_element.