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
AnnotatedClassDiscovery::$directorySuffix property core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php A suffix to append to each PSR-4 directory associated with a base
namespace, to form the directories where plugins are found.
BrowserHtmlDebugTrait::$htmlOutputDirectory property core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Directory name for HTML output logging.
BrowserTestBase::$translationFilesDirectory property core/tests/Drupal/Tests/BrowserTestBase.php The translation file directory for the test environment.
BuildTestBase::getWorkspaceDirectory function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Full path to the workspace where this test can build.
ConfigImporterTest::testConfigGetConfigDirectory function core/tests/Drupal/KernelTests/Core/Config/ConfigImporterTest.php Tests config_get_config_directory().
ConfigInstaller::getDefaultConfigDirectory function core/lib/Drupal/Core/Config/ConfigInstaller.php Gets an extension's default configuration directory.
CONFIG_ACTIVE_DIRECTORY constant core/includes/bootstrap.inc $config_directories key for active directory.
config_get_config_directory function core/includes/bootstrap.inc Returns the path of a configuration directory.
CONFIG_STAGING_DIRECTORY constant core/includes/bootstrap.inc $config_directories key for staging directory.
CONFIG_SYNC_DIRECTORY constant core/includes/bootstrap.inc $config_directories key for sync directory.
CustomDirectoryAnnotatedClassDiscoveryTest class core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php Tests that plugins in a custom directory are correctly discovered using
annotated classes.
CustomDirectoryAnnotatedClassDiscoveryTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
CustomDirectoryAnnotatedClassDiscoveryTest::setUp function core/tests/Drupal/KernelTests/Core/Plugin/Discovery/CustomDirectoryAnnotatedClassDiscoveryTest.php
CustomDirectoryExample1 class core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample1.php Provides a test plugin within a custom directory.
CustomDirectoryExample1.php file core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample1.php
CustomDirectoryExample2 class core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample2.php Provides a test plugin within a custom directory.
CustomDirectoryExample2.php file core/modules/system/tests/modules/plugin_test/src/CustomDirectoryExample2.php
Database::findDriverAutoloadDirectory function core/lib/Drupal/Core/Database/Database.php Finds the directory to add to the autoloader for the driver's namespace.
DatabaseTest::providerFindDriverAutoloadDirectory function core/tests/Drupal/Tests/Core/Database/DatabaseTest.php Data provider for ::testFindDriverAutoloadDirectory().
DatabaseTest::providerFindDriverAutoloadDirectoryException function core/tests/Drupal/Tests/Core/Database/DatabaseTest.php Data provider for ::testFindDriverAutoloadDirectoryException().
DatabaseTest::testFindDriverAutoloadDirectory function core/tests/Drupal/Tests/Core/Database/DatabaseTest.php @covers ::findDriverAutoloadDirectory
@dataProvider providerFindDriverAutoloadDirectory
DatabaseTest::testFindDriverAutoloadDirectoryException function core/tests/Drupal/Tests/Core/Database/DatabaseTest.php @covers ::findDriverAutoloadDirectory
@dataProvider providerFindDriverAutoloadDirectoryException
DirectoryNotReadyException class core/lib/Drupal/Core/File/Exception/DirectoryNotReadyException.php Exception thrown when a file's destination directory is not ready.
DirectoryNotReadyException.php file core/lib/Drupal/Core/File/Exception/DirectoryNotReadyException.php
DirectoryTest class core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Tests operations dealing with directories.
DirectoryTest.php file core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
DirectoryTest::$modules property core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Modules to enable.
DirectoryTest::setUp function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
DirectoryTest::testDirectoryCreation function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Tests directory creation.
DirectoryTest::testFileCheckDirectoryHandling function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Test directory handling functions.
DirectoryTest::testFileCheckLocalDirectoryHandling function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Test local directory handling functions.
DirectoryTest::testFileCreateNewFilepath function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php This will take a directory and path, and find a valid filepath that is not
taken by another file.
DirectoryTest::testFileDestination function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php This will test the filepath for a destination based on passed flags and
whether or not the file exists.
DirectoryTest::testFileDirectoryTemp function core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php Ensure that the getTempDirectory() method always returns a value.
drupal_phpunit_contrib_extension_directory_roots function core/tests/bootstrap.php Returns directories under which contributed extensions may exist.
DummyReadOnlyStreamWrapper::getDirectoryPath function core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php Gets the path that the wrapper is responsible for.
DummyStreamWrapper::getDirectoryPath function core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php Gets the path that the wrapper is responsible for.
ExtensionDiscovery::scanDirectory function core/lib/Drupal/Core/Extension/ExtensionDiscovery.php Recursively scans a base directory for the extensions it contains.
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.
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.

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