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
PrivateStream::getDirectoryPath function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Gets the path that the wrapper is responsible for.
ProtectedDirectory class core/lib/Drupal/Core/File/ProtectedDirectory.php A value object representing a protected directory.
ProtectedDirectory.php file core/lib/Drupal/Core/File/ProtectedDirectory.php
ProtectedDirectory::$path property core/lib/Drupal/Core/File/ProtectedDirectory.php The directory path.
ProtectedDirectory::$private property core/lib/Drupal/Core/File/ProtectedDirectory.php If the directory is private (or public).
ProtectedDirectory::$title property core/lib/Drupal/Core/File/ProtectedDirectory.php The directory title.
ProtectedDirectory::getPath function core/lib/Drupal/Core/File/ProtectedDirectory.php Gets the directory path.
ProtectedDirectory::getTitle function core/lib/Drupal/Core/File/ProtectedDirectory.php Gets the title.
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 Gets the path that the wrapper is responsible for.
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.
RecipeTest::testCreateFromDirectory2 function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php @testWith ["no_extensions", "No extensions" , "Testing", [], "A recipe description"][[api-linebreak]]
["install_two_modules", "Install two modules" , "Content type",…
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 Modules to install.
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 Modules to install.
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 @coversDefaultClass \Drupal\package_manager\Validator\SandboxDirectoryValidator[[api-linebreak]]
@group package_manager
@internal
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 @covers ::validate[[api-linebreak]]
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 the stage directory exists.
SandboxManagerBaseTest::testGetSandboxDirectory function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php @covers ::getSandboxDirectory[[api-linebreak]]
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 @covers ::sandboxDirectoryExists[[api-linebreak]]
SandboxManagerBaseTest::testUncreatedGetSandboxDirectory function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php @covers ::getSandboxDirectory[[api-linebreak]]

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