Search for directory

  1. Search 7.x for directory
  2. Search 9.5.x for directory
  3. Search 8.9.x for directory
  4. Search 10.3.x for directory
  5. Other projects
Title Object type File name Summary
FieldDefinitionIntegrityTest::modulesWithSubdirectory function core/modules/field/tests/src/Kernel/FieldDefinitionIntegrityTest.php Find modules with a specified subdirectory.
FileCopy::getDirectory function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Returns the directory component of a URI or path.
FileDeleteRecursiveTest::testDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Try deleting a directory with some files.
FileDeleteRecursiveTest::testEmptyDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Try deleting an empty directory.
FileDeleteRecursiveTest::testSubDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php Try deleting subdirectories with some files.
FileDeleteTest::testDirectory function core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php Try deleting a directory.
FileItem::validateDirectory function core/modules/file/src/Plugin/Field/FieldType/FileItem.php Form API callback.
FileItemTest::$directory property core/modules/file/tests/src/Kernel/FileItemTest.php Directory where the sample files are stored.
FilePathTest::$localDirectory property core/modules/migrate_drupal_ui/tests/src/Functional/d7/FilePathTest.php The base path to the source files on the destination site.
FileReadOnlyStorage::$directory property core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php The directory where the files should be stored.
FileStorage::$directory property core/lib/Drupal/Component/PhpStorage/FileStorage.php The directory where the files should be stored.
FileStorage::$directory property core/lib/Drupal/Core/Config/FileStorage.php The filesystem path for configuration objects.
FileStorage::createDirectory function core/lib/Drupal/Component/PhpStorage/FileStorage.php Ensures the requested directory exists and has the right permissions.
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.
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 install.
FileSystemTempDirectoryTest::setUp function core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php
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.
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.
GenerateThemeTest::testDeleteDirectory function core/tests/Drupal/BuildTests/Command/GenerateThemeTest.php

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