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
ProcessFactory::getPhpDirectory function core/modules/package_manager/src/ProcessFactory.php Returns the directory which contains the PHP interpreter.
ProcessFactoryTest::testPhpDirectoryPrependedToPath function core/modules/package_manager/tests/src/Kernel/ProcessFactoryTest.php Tests that the process factory prepends the PHP directory to PATH.
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"]
["install_two_modules", "Install two modules" , "Content type", ["filter",…
RecipeTest::testCreateFromDirectoryNoRecipe function core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php
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 @coversDefaultClass \Drupal\Component\FileSystem\RegexDirectoryIterator
@group FileSystem
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 @covers ::accept
@dataProvider providerTestRegexDirectoryIterator
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
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.
ScanDirectoryTest::$modules property core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Modules to install.
ScanDirectoryTest::$path property core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php
ScanDirectoryTest::setUp function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php
ScanDirectoryTest::testIgnoreDirectories function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Tests ::scanDirectory obeys 'file_scan_ignore_directories' setting.
ScanDirectoryTest::testOptionCallback function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Check that the callback function is called correctly.
ScanDirectoryTest::testOptionKey function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Check that key parameter sets the return value's key.
ScanDirectoryTest::testOptionMinDepth function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Tests the min_depth option of scanDirectory().
ScanDirectoryTest::testOptionNoMask function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Check that the no-mask parameter is honored.
ScanDirectoryTest::testOptionRecurse function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Check that the recurse option descends into subdirectories.
ScanDirectoryTest::testReturn function core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php Check the format of the returned values.
SiteConfigurationExcluder::getDefaultSiteDirectoryPath function core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php Returns the full path to `sites/default`, relative to a root directory.

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