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
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.
SiteConfigurationExcluder::makeDefaultSiteDirectoryWritable function core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php Makes the staged `sites/default` directory owner-writable.
SiteConfigurationExcluder::syncDefaultSiteDirectoryPermissions function core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php Makes `sites/default` permissions the same in live and stage directories.
SiteConfigurationExcluderTest::testDefaultSiteDirectoryPermissions function core/modules/package_manager/tests/src/Kernel/PathExcluder/SiteConfigurationExcluderTest.php Tests that `sites/default` is made writable in the stage directory.
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.
SSH::createDirectoryJailed function core/lib/Drupal/Core/FileTransfer/SSH.php Creates a directory.
SSH::isDirectory function core/lib/Drupal/Core/FileTransfer/SSH.php Implements Drupal\Core\FileTransfer\FileTransfer::isDirectory().
SSH::removeDirectoryJailed function core/lib/Drupal/Core/FileTransfer/SSH.php Removes a directory.
StageBase::getStageDirectory function core/modules/package_manager/src/StageBase.php Returns the path of the directory where changes should be staged.
StageBase::stageDirectoryExists function core/modules/package_manager/src/StageBase.php Determines if the stage directory exists.
StageBaseTest::testGetStageDirectory function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php @covers ::getStageDirectory
StageBaseTest::testStageDirectoryDeletedDuringCron function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests that destroyed stage directories are actually deleted during cron.
StageBaseTest::testStageDirectoryExists function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php @covers ::stageDirectoryExists
StageBaseTest::testUncreatedGetStageDirectory function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php @covers ::getStageDirectory
SymlinkValidatorTest::testSymlinkPointingOutsideStageDirectory function core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php Tests that relative symlinks cannot point outside the stage directory.
SymlinkValidatorTest::testSymlinkToDirectory function core/modules/package_manager/tests/src/Kernel/SymlinkValidatorTest.php Tests what happens when there is a symlink to a directory.
SystemListingTest::testDirectoryPrecedence function core/modules/system/tests/src/Kernel/Common/SystemListingTest.php Tests that files in different directories take precedence as expected.
SystemListingTest::testFileScanIgnoreDirectory function core/modules/system/tests/src/Kernel/Common/SystemListingTest.php Tests that directories matching file_scan_ignore_directories are ignored.
system_check_directory function core/modules/system/system.module Checks the existence of the directory specified in $form_element.
TemplateProjectTestBase::copyFixtureToTempDirectory function core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php Copies a fixture directory to a temporary directory and returns its path.
TemporaryStream::getDirectoryPath function core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php Gets the path that the wrapper is responsible for.
TestDiscovery::scanDirectory function core/lib/Drupal/Core/Test/TestDiscovery.php Scans a given directory for class files.
TestDiscoveryTest::testScanDirectoryNoAbstract function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php Ensure TestDiscovery::scanDirectory() ignores certain abstract file types.
TestDiskSpaceValidator::temporaryDirectory function core/modules/package_manager/tests/src/Kernel/PackageManagerKernelTestBase.php
TestFileTransfer::$shouldIsDirectoryReturnTrue property core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php This is for testing the CopyRecursive logic.

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