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. Search 11.x for directory
  6. Other projects
Title Object type File name Summary
ProtectedDirectory::isPrivate function core/lib/Drupal/Core/File/ProtectedDirectory.php Is the directory private (or public).
ProtectedDirectory::__construct function core/lib/Drupal/Core/File/ProtectedDirectory.php ProtectedDirectory constructor.
PublicStream::getDirectoryPath function core/lib/Drupal/Core/StreamWrapper/PublicStream.php
Recipe::createFromDirectory function core/lib/Drupal/Core/Recipe/Recipe.php Creates a recipe object from the provided path.
RecipeCommandTest::testErrorOnNonExistentDirectory function core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeCommandTest.php Tests the recipe command with a non-existent directory.
RecipeFinderTest::testComposerRecipeDirectory function core/tests/Drupal/KernelTests/Core/Recipe/RecipeFinderTest.php Tests that the Composer recipe directory is read correctly.
RecipeFinderTest::testUnknownComposerRecipeDirectory function core/tests/Drupal/KernelTests/Core/Recipe/RecipeFinderTest.php Tests that there is an error if Composer is misconfigured for recipes.
RecipeTest::testCreateFromDirectory2 function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php Tests create from directory 2.
RecipeTest::testCreateFromDirectoryNoRecipe function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php Tests creating a recipe from an empty directory.
RegexDirectoryIterator class core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php Iterates over files whose names match a regular expression in a directory.
RegexDirectoryIterator.php file core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php
RegexDirectoryIterator::accept function core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php Implements \RegexIterator::accept().
RegexDirectoryIterator::__construct function core/lib/Drupal/Component/FileSystem/RegexDirectoryIterator.php RegexDirectoryIterator constructor.
RegexDirectoryIteratorTest class core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php Tests Drupal\Component\FileSystem\RegexDirectoryIterator.
RegexDirectoryIteratorTest.php file core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php
RegexDirectoryIteratorTest::providerTestRegexDirectoryIterator function core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php Provider for self::testRegexDirectoryIterator().
RegexDirectoryIteratorTest::testRegexDirectoryIterator function core/tests/Drupal/Tests/Component/FileSystem/RegexDirectoryIteratorTest.php @legacy-covers ::accept
RemoteFileDirectoryTest class core/tests/Drupal/KernelTests/Core/File/RemoteFileDirectoryTest.php Tests operations dealing with directories.
RemoteFileDirectoryTest.php file core/tests/Drupal/KernelTests/Core/File/RemoteFileDirectoryTest.php
RemoteFileDirectoryTest::$classname property core/tests/Drupal/KernelTests/Core/File/RemoteFileDirectoryTest.php A fully-qualified stream wrapper class name to register for the test.
RemoteFileDirectoryTest::$modules property core/tests/Drupal/KernelTests/Core/File/RemoteFileDirectoryTest.php
RemoteFileDirectoryTest::$scheme property core/tests/Drupal/KernelTests/Core/File/RemoteFileDirectoryTest.php A stream wrapper scheme to register for the test.
RemoteFileDirectoryTest::setUp function core/tests/Drupal/KernelTests/Core/File/RemoteFileDirectoryTest.php
RemoteFileScanDirectoryTest class core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php Tests \Drupal\Core\File\FileSystemInterface::scanDirectory().
RemoteFileScanDirectoryTest.php file core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php
RemoteFileScanDirectoryTest::$classname property core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php A fully-qualified stream wrapper class name to register for the test.
RemoteFileScanDirectoryTest::$modules property core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php
RemoteFileScanDirectoryTest::$scheme property core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php A stream wrapper scheme to register for the test.
RemoteFileScanDirectoryTest::setUp function core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php
SandboxDirectoryValidator class core/modules/package_manager/src/Validator/SandboxDirectoryValidator.php Validates staging root is not a subdirectory of active.
SandboxDirectoryValidator.php file core/modules/package_manager/src/Validator/SandboxDirectoryValidator.php
SandboxDirectoryValidator::getSubscribedEvents function core/modules/package_manager/src/Validator/SandboxDirectoryValidator.php
SandboxDirectoryValidator::validate function core/modules/package_manager/src/Validator/SandboxDirectoryValidator.php Check if staging root is a subdirectory of active.
SandboxDirectoryValidator::__construct function core/modules/package_manager/src/Validator/SandboxDirectoryValidator.php
SandboxDirectoryValidatorTest class core/modules/package_manager/tests/src/Unit/SandboxDirectoryValidatorTest.php Tests Drupal\package_manager\Validator\SandboxDirectoryValidator.
SandboxDirectoryValidatorTest.php file core/modules/package_manager/tests/src/Unit/SandboxDirectoryValidatorTest.php
SandboxDirectoryValidatorTest::providerTestCheckNotInActive function core/modules/package_manager/tests/src/Unit/SandboxDirectoryValidatorTest.php Data provider for testCheckNotInActive().
SandboxDirectoryValidatorTest::testCheckNotInActive function core/modules/package_manager/tests/src/Unit/SandboxDirectoryValidatorTest.php Tests check not in active.
SandboxManagerBase::COMPOSER_SANDBOX_DIRECTORY constant core/modules/package_manager/src/SandboxManagerBase.php The name of the long-lived sandbox directory to maintain.
SandboxManagerBase::getSandboxDirectory function core/modules/package_manager/src/SandboxManagerBase.php Returns the path of the directory where changes should be staged.
SandboxManagerBase::sandboxDirectoryExists function core/modules/package_manager/src/SandboxManagerBase.php Determines if there is an active sandbox with a directory on disk.
SandboxManagerBaseTest::testConfigChangeNoOpWithoutSandboxDirectory function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that config change is a no-op when no sandbox directory exists.
SandboxManagerBaseTest::testGetSandboxDirectory function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests get sandbox directory.
SandboxManagerBaseTest::testGetSandboxDirectoryWithoutLock function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that getSandboxDirectory() works without a lock.
SandboxManagerBaseTest::testSandboxDirectoryPersistsAndIsReused function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that the sandbox directory persists after destroy and is reused.
SandboxManagerBaseTest::testStageDirectoryDeletedDuringCron function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests that destroyed stage directories are actually deleted during cron.
SandboxManagerBaseTest::testStageDirectoryExists function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests stage directory exists.
ScanDirectoryTest class core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Tests \Drupal\Core\File\FileSystem::scanDirectory.
ScanDirectoryTest.php file core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php
ScanDirectoryTest::$fileSystem property core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php The file system.

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