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
UpdaterInterface::canUpdateDirectory function core/lib/Drupal/Core/Updater/UpdaterInterface.php Determines if the Updater can handle the project provided in $directory.
UpdaterInterface::getInstallDirectory function core/lib/Drupal/Core/Updater/UpdaterInterface.php Returns the path to the default install location for the current project.
UpdaterInterface::getRootDirectoryRelativePath function core/lib/Drupal/Core/Updater/UpdaterInterface.php Returns the name of the root directory under which projects will be copied.
UpdateUploadTest::testUpdateDirectory function core/modules/update/tests/src/Functional/UpdateUploadTest.php Tests only an *.info.yml file are detected without supporting files.
UrlGeneratorTest::testGetPathFromRouteWithSubdirectory function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Tests URL generation in a subdirectory.
YamlDirectoryDiscovery class core/lib/Drupal/Core/Plugin/Discovery/YamlDirectoryDiscovery.php Allows multiple YAML files per directory to define plugin definitions.
YamlDirectoryDiscovery class core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Discovers multiple YAML files in a set of directories.
YamlDirectoryDiscovery.php file core/lib/Drupal/Core/Plugin/Discovery/YamlDirectoryDiscovery.php
YamlDirectoryDiscovery.php file core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php
YamlDirectoryDiscovery::$directories property core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php An array of directories to scan, keyed by the provider.
YamlDirectoryDiscovery::$fileCacheKeySuffix property core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php The suffix for the file cache key.
YamlDirectoryDiscovery::$idKey property core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php The key contained in the discovered data that identifies it.
YamlDirectoryDiscovery::FILE_KEY constant core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Defines the key in the discovered data where the file path is stored.
YamlDirectoryDiscovery::findAll function core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Returns an array of discoverable items.
YamlDirectoryDiscovery::findFiles function core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Returns an array of providers keyed by file path.
YamlDirectoryDiscovery::getDirectoryIterator function core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Gets an iterator to loop over the files in the provided directory.
YamlDirectoryDiscovery::getIdentifier function core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Gets the identifier from the data.
YamlDirectoryDiscovery::__construct function core/lib/Drupal/Core/Plugin/Discovery/YamlDirectoryDiscovery.php Constructs a YamlDirectoryDiscovery object.
YamlDirectoryDiscovery::__construct function core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php Constructs a YamlDirectoryDiscovery object.
YamlDirectoryDiscoveryTest class core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php @coversDefaultClass \Drupal\Core\Plugin\Discovery\YamlDirectoryDiscovery
YamlDirectoryDiscoveryTest class core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php YamlDirectoryDiscoveryTest component unit tests.
YamlDirectoryDiscoveryTest.php file core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php
YamlDirectoryDiscoveryTest.php file core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php
YamlDirectoryDiscoveryTest::setUp function core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php
YamlDirectoryDiscoveryTest::testDiscovery function core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php Tests YAML directory discovery.
YamlDirectoryDiscoveryTest::testDiscoveryAlternateId function core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php Tests YAML directory discovery with an alternate ID key.
YamlDirectoryDiscoveryTest::testDiscoveryInvalidYamlException function core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php Tests YAML directory discovery with invalid YAML.
YamlDirectoryDiscoveryTest::testDiscoveryNoIdException function core/tests/Drupal/Tests/Component/Discovery/YamlDirectoryDiscoveryTest.php Tests YAML directory discovery with a missing ID key.
YamlDirectoryDiscoveryTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php @covers ::getDefinitions
YamlDirectoryDiscoveryTest::testGetDefinitionsWithTranslatableDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/YamlDirectoryDiscoveryTest.php @covers ::getDefinitions
_update_manager_cache_directory function core/modules/update/update.module Returns the directory where update archive files should be cached.
_update_manager_extract_directory function core/modules/update/update.module Returns the directory where update archive files should be extracted.

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