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 11.x for directory
  5. 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 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.
SitesDirectoryHardeningTest class core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Tests Drupal permissions hardening of /sites subdirectories.
SitesDirectoryHardeningTest.php file core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php
SitesDirectoryHardeningTest::$defaultTheme property core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php The theme to install as the default for testing.
SitesDirectoryHardeningTest::checkSystemRequirements function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Checks system runtime requirements.
SitesDirectoryHardeningTest::makeWritable function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Makes the given path and settings file writable.
SitesDirectoryHardeningTest::settingsFile function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Returns the path to settings.php.
SitesDirectoryHardeningTest::testSitesDirectoryHardening function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Tests the default behavior to restrict directory permissions is enforced.
SitesDirectoryHardeningTest::testSitesDirectoryHardeningConfig function core/modules/system/tests/src/Functional/System/SitesDirectoryHardeningTest.php Tests writable files remain writable when directory hardening is disabled.
SiteSettingsForm::createRandomConfigDirectory function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Create a random config sync directory.
SSH::copyDirectoryJailed function core/lib/Drupal/Core/FileTransfer/SSH.php Copies a directory.

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