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
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.
TestFileTransfer::createDirectoryJailed function core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php Creates a directory.
TestFileTransfer::isDirectory function core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php Checks if a particular path is a directory.
TestFileTransfer::removeDirectoryJailed function core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php Removes a directory.
TestSetupTrait::$privateFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The private file directory for the test environment.
TestSetupTrait::$publicFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The public file directory for the test environment.
TestSetupTrait::$siteDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The site directory of this test run.
TestSetupTrait::$tempFilesDirectory property core/lib/Drupal/Core/Test/TestSetupTrait.php The temporary file directory for the test environment.
TestSiteInstallCommand::$translationFilesDirectory property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The translation file directory for the test environment.
TestSiteInstallCommand::ensureDirectory function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Ensures that the sites/simpletest directory exists and is writable.
Theme::canUpdateDirectory function core/lib/Drupal/Core/Updater/Theme.php Determines if the Updater can handle the project provided in $directory.
Theme::getInstallDirectory function core/lib/Drupal/Core/Updater/Theme.php Returns the directory where a theme should be installed.
Theme::getRootDirectoryRelativePath function core/lib/Drupal/Core/Updater/Theme.php Returns the name of the root directory under which projects will be copied.
ToolkitGdTest::$directory property core/tests/Drupal/KernelTests/Core/Image/ToolkitGdTest.php A directory where test image files can be saved to.
TranslationsStream::getDirectoryPath function core/modules/locale/src/StreamWrapper/TranslationsStream.php Gets the path that the wrapper is responsible for.
Updater::getInstallDirectory function core/lib/Drupal/Core/Updater/Updater.php Returns the path to the default install location for the current project.
Updater::getUpdaterFromDirectory function core/lib/Drupal/Core/Updater/Updater.php Determines which Updater class can operate on the given directory.
Updater::prepareInstallDirectory function core/lib/Drupal/Core/Updater/Updater.php Makes sure the installation parent directory exists and is writable.

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