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
Local::isDirectory function core/lib/Drupal/Core/FileTransfer/Local.php Checks if a particular path is a directory.
Local::removeDirectoryJailed function core/lib/Drupal/Core/FileTransfer/Local.php Removes a directory.
LocaleUpdateBase::setTranslationsDirectory function core/modules/locale/tests/src/Functional/LocaleUpdateBase.php Sets the value of the default translations directory.
LocalStream::getDirectoryPath function core/lib/Drupal/Core/StreamWrapper/LocalStream.php Gets the path that the wrapper is responsible for.
LocalTaskIntegrationTestBase::$directoryList property core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php A list of module directories used for YAML searching.
MockPathLocator::getVendorDirectory function core/modules/package_manager/tests/modules/package_manager_bypass/src/MockPathLocator.php
Module::canUpdateDirectory function core/lib/Drupal/Core/Updater/Module.php Determines if the Updater can handle the project provided in $directory.
Module::getInstallDirectory function core/lib/Drupal/Core/Updater/Module.php Returns the directory where a module should be installed.
Module::getRootDirectoryRelativePath function core/lib/Drupal/Core/Updater/Module.php Returns the name of the root directory under which projects will be copied.
MTimeProtectedFastFileStorage::getContainingDirectoryFullPath function core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php Gets the full path of the file storage directory's parent.
NotRegularDirectoryException class core/lib/Drupal/Core/File/Exception/NotRegularDirectoryException.php Exception thrown when a target is not a regular directory (e.g. a file).
NotRegularDirectoryException.php file core/lib/Drupal/Core/File/Exception/NotRegularDirectoryException.php
OEmbedTestTrait::getFixturesDirectory function core/modules/media/tests/src/Traits/OEmbedTestTrait.php Returns the relative path to the oEmbed fixtures directory.
PathLocator::getVendorDirectory function core/modules/package_manager/src/PathLocator.php Returns the absolute path of the vendor directory.
PhpStorageTestBase::$directory property core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php A unique per test class directory path to test php storage.
PhpTransliteration::$dataDirectory property core/lib/Drupal/Component/Transliteration/PhpTransliteration.php Directory where data for transliteration resides.
PrivateStream::getDirectoryPath function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Gets the path that the wrapper is responsible for.
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.

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