Search for directory

  1. Search 7.x for directory
  2. Search 9.5.x for directory
  3. Search 10.3.x for directory
  4. Search 11.x for directory
  5. Other projects
Title Object type File name Summary
FileStorage::ensureDirectory function core/lib/Drupal/Component/PhpStorage/FileStorage.php Ensures the directory exists, has the right permissions, and a .htaccess.
FileStorage::getCollectionDirectory function core/lib/Drupal/Core/Config/FileStorage.php Gets the directory for the collection.
FileStorageTest::$directory property core/tests/Drupal/KernelTests/Core/Config/Storage/FileStorageTest.php A directory to store configuration in.
FileStorageTest::testCreateDirectoryFailWarning function core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php @covers ::createDirectory
FileSystem::CHMOD_DIRECTORY constant core/lib/Drupal/Core/File/FileSystem.php Default mode for new directories. See self::chmod().
FileSystem::doScanDirectory function core/lib/Drupal/Core/File/FileSystem.php Internal function to handle directory scanning with recursion.
FileSystem::getOsTemporaryDirectory function core/lib/Drupal/Component/FileSystem/FileSystem.php Discovers a writable system-appropriate temporary directory.
FileSystem::getTempDirectory function core/lib/Drupal/Core/File/FileSystem.php Gets the path of the configured temporary directory.
FileSystem::prepareDirectory function core/lib/Drupal/Core/File/FileSystem.php Checks that the directory exists and is writable.
FileSystem::scanDirectory function core/lib/Drupal/Core/File/FileSystem.php Finds all files that match a given mask in a given directory.
FileSystemDeprecationTest::testDeprecatedDirectoryOsTemp function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php @expectedDeprecation file_directory_os_temp() is deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\Component\FileSystem\FileSystem::getOsTemporaryDirectory() instead. See https://www.drupal.org/node/2418133
FileSystemDeprecationTest::testDeprecatedFilePrepareDirectory function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php @expectedDeprecation file_prepare_directory() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::prepareDirectory(). See https://www.drupal.org/node/3006851.
FileSystemDeprecationTest::testDeprecatedScanDirectory function core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php @expectedDeprecation file_scan_directory() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::scanDirectory() instead. See https://www.drupal.org/node/3038437
FileSystemInterface::CREATE_DIRECTORY constant core/lib/Drupal/Core/File/FileSystemInterface.php Flag used by ::prepareDirectory() -- create directory if not present.
FileSystemInterface::getTempDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Gets the path of the configured temporary directory.
FileSystemInterface::prepareDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Checks that the directory exists and is writable.
FileSystemInterface::scanDirectory function core/lib/Drupal/Core/File/FileSystemInterface.php Finds all files that match a given mask in a given directory.
FileSystemTempDirectoryTest class core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Tests for getTempDirectory on FileSystem.
FileSystemTempDirectoryTest.php file core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php
FileSystemTempDirectoryTest::$fileSystem property core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php The file system under test.
FileSystemTempDirectoryTest::$modules property core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Modules to enable.
FileSystemTempDirectoryTest::setUp function core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php
FileSystemTempDirectoryTest::testGetTempDirectoryDeprecation function core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Tests 'path.temporary' config deprecation.
FileSystemTempDirectoryTest::testGetTempDirectoryOsDefault function core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Tests os default fallback.
FileSystemTempDirectoryTest::testGetTempDirectorySettings function core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php Tests 'file_temp_path' setting.
FileSystemTest::testDestinationDirectoryFailureOnCopy function core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php @covers ::copy
FileTestBase::assertDirectoryPermissions function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Helper function to test the permissions of a directory.
FileTestBase::createDirectory function core/tests/Drupal/KernelTests/Core/File/FileTestBase.php Create a directory and assert it exists.
FileTransfer::copyDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Copies a directory.
FileTransfer::copyDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Copies a directory.
FileTransfer::createDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Creates a directory.
FileTransfer::createDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Creates a directory.
FileTransfer::isDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Checks if a particular path is a directory.
FileTransfer::removeDirectory function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Removes a directory.
FileTransfer::removeDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Removes a directory.
FileTransferTest::_writeDirectory function core/modules/system/tests/src/Functional/FileTransfer/FileTransferTest.php
FileTranslation::$directory property core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php Directory to find translation files in the file system.
FILE_CHMOD_DIRECTORY constant core/includes/file.inc Default mode for new directories.
FILE_CREATE_DIRECTORY constant core/includes/file.inc Flag used to create a directory if not present.
file_directory_os_temp function core/includes/file.inc Discovers a writable system-appropriate temporary directory.
file_directory_temp function core/includes/file.inc Gets and sets the path of the configured temporary directory.
file_prepare_directory function core/includes/file.inc Checks that the directory exists and is writable.
file_scan_directory function core/includes/file.inc Finds all files that match a given mask in a given directory.
FTPExtension::createDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FTPExtension.php Creates a directory.
FTPExtension::isDirectory function core/lib/Drupal/Core/FileTransfer/FTPExtension.php Checks if a particular path is a directory.
FTPExtension::removeDirectoryJailed function core/lib/Drupal/Core/FileTransfer/FTPExtension.php Removes a directory.
InstallerConfigDirectorySetNoDirectoryErrorTest class core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php Tests the installer when a config_directory set up but does not exist.
InstallerConfigDirectorySetNoDirectoryErrorTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php
InstallerConfigDirectorySetNoDirectoryErrorTest::$configDirectory property core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php The directory where the sync directory should be created during install.
InstallerConfigDirectorySetNoDirectoryErrorTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php The theme to install as the default for testing.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.