Search for find

  1. Search 7.x for find
  2. Search 9.5.x for find
  3. Search 8.9.x for find
  4. Search 11.x for find
  5. Other projects
Title Object type File name Summary
AnnotatedClassDiscoveryAutomatedProviders::$finder property core/modules/migrate/src/Plugin/Discovery/AnnotatedClassDiscoveryAutomatedProviders.php A utility object that can use active autoloaders to find files for classes.
AssertBlockAppearsTrait::findBlockInstance function core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php Find a block instance on the page.
BanIpManager::findAll function core/modules/ban/src/BanIpManager.php Finds all banned IP addresses.
BanIpManager::findById function core/modules/ban/src/BanIpManager.php Finds a banned IP address by its ID.
BanIpManagerInterface::findAll function core/modules/ban/src/BanIpManagerInterface.php Finds all banned IP addresses.
BanIpManagerInterface::findById function core/modules/ban/src/BanIpManagerInterface.php Finds a banned IP address by its ID.
BuildTestBase::$phpFinder property core/tests/Drupal/BuildTests/Framework/BuildTestBase.php The PHP executable finder.
BuildTestBase::findAvailablePort function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Discover an available port number.
BuildTestBase::getCodebaseFinder function core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Get a default Finder object for a Drupal codebase.
CachedStorage::$findByPrefixCache property core/lib/Drupal/Core/Config/CachedStorage.php List of listAll() prefixes with their results.
CachedStorage::findByPrefix function core/lib/Drupal/Core/Config/CachedStorage.php Finds configuration object names starting with a given prefix.
ClassFinder class core/lib/Drupal/Component/ClassFinder/ClassFinder.php A Utility class that uses active autoloaders to find a file for a class.
ClassFinder.php file core/lib/Drupal/Component/ClassFinder/ClassFinder.php
ClassFinder::findFile function core/lib/Drupal/Component/ClassFinder/ClassFinder.php Finds a class.
ClassFinderInterface interface core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php Finds a class in a PSR-0 structure.
ClassFinderInterface.php file core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php
ClassFinderInterface::findFile function core/lib/Drupal/Component/ClassFinder/ClassFinderInterface.php Finds a class.
ClassFinderTest class core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php @coversDefaultClass \Drupal\Component\ClassFinder\ClassFinder[[api-linebreak]]
@group ClassFinder
ClassFinderTest.php file core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php
ClassFinderTest::testFindFile function core/tests/Drupal/Tests/Component/ClassFinder/ClassFinderTest.php @covers ::findFile[[api-linebreak]]
ComponentLoader::findTemplate function core/lib/Drupal/Core/Template/Loader/ComponentLoader.php Finds a template in the file system based on the template name.
ComponentPluginManager::find function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Gets a component for rendering.
ComponentPluginManager::findAsset function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Finds assets related to the provided metadata file.
ComposerBuildTestBase::getComponentPathsFinder function core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Find all the composer.json files for components.
ComposerIntegrationTrait::getComposerJsonFinder function core/tests/Drupal/Tests/Composer/ComposerIntegrationTrait.php Get a Finder object to traverse all of the composer.json files in core.
ConfigInstaller::findDefaultConfigWithUnmetDependencies function core/lib/Drupal/Core/Config/ConfigInstaller.php Finds default configuration with unmet dependencies.
ConfigInstaller::findPreExistingConfiguration function core/lib/Drupal/Core/Config/ConfigInstaller.php Finds pre-existing configuration objects for the provided extension.
ConfigManager::findConfigEntityDependencies function core/lib/Drupal/Core/Config/ConfigManager.php Finds config entities that are dependent on extensions or entities.
ConfigManager::findConfigEntityDependenciesAsEntities function core/lib/Drupal/Core/Config/ConfigManager.php Finds config entities that are dependent on extensions or entities.
ConfigManager::findMissingContentDependencies function core/lib/Drupal/Core/Config/ConfigManager.php Finds missing content dependencies declared in configuration entities.
ConfigManagerInterface::findConfigEntityDependencies function core/lib/Drupal/Core/Config/ConfigManagerInterface.php Finds config entities that are dependent on extensions or entities.
ConfigManagerInterface::findConfigEntityDependenciesAsEntities function core/lib/Drupal/Core/Config/ConfigManagerInterface.php Finds config entities that are dependent on extensions or entities.
ConfigManagerInterface::findMissingContentDependencies function core/lib/Drupal/Core/Config/ConfigManagerInterface.php Finds missing content dependencies declared in configuration entities.
ConfigSingleExportForm::findConfiguration function core/modules/config/src/Form/ConfigSingleExportForm.php Handles switching the configuration type selector.
Connection::findCallerFromDebugBacktrace function core/lib/Drupal/Core/Database/Connection.php Determine the last non-database method that called the database API.
ConnectionTest::testFindCallerFromDebugBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests that the proper caller is retrieved from the backtrace.
ConnectionTest::testFindCallerFromDebugBacktraceWithMockedBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests that a log called by a custom database driver returns proper caller.
Database::findDriverAutoloadDirectory function core/lib/Drupal/Core/Database/Database.php Finds the directory to add to the autoloader for the driver's namespace.
DatabaseTest::providerFindDriverAutoloadDirectory function core/tests/Drupal/Tests/Core/Database/DatabaseTest.php Data provider for ::testFindDriverAutoloadDirectory().
DatabaseTest::providerFindDriverAutoloadDirectoryException function core/tests/Drupal/Tests/Core/Database/DatabaseTest.php Data provider for ::testFindDriverAutoloadDirectoryException().
DatabaseTest::testFindDriverAutoloadDirectory function core/tests/Drupal/Tests/Core/Database/DatabaseTest.php @covers ::findDriverAutoloadDirectory[[api-linebreak]]
@dataProvider providerFindDriverAutoloadDirectory
@group legacy
DatabaseTest::testFindDriverAutoloadDirectoryException function core/tests/Drupal/Tests/Core/Database/DatabaseTest.php @covers ::findDriverAutoloadDirectory[[api-linebreak]]
@dataProvider providerFindDriverAutoloadDirectoryException
@group legacy
DefaultPluginManager::findDefinitions function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Finds plugin definitions.
DirectoryWithMetadataDiscovery::findProvider function core/lib/Drupal/Core/Plugin/Discovery/DirectoryWithMetadataDiscovery.php Finds the provider of the discovered file.
DiscoverableInterface::findAll function core/lib/Drupal/Component/Discovery/DiscoverableInterface.php Returns an array of discoverable items.
DocParser::findInitialTokenPosition function core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php Finds the first valid annotation
DriverSpecificSchemaTestBase::testFindPrimaryKeyColumns function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php @covers ::findPrimaryKeyColumns[[api-linebreak]]
DriverSpecificSchemaTestBase::testFindTables function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests the findTables() method.
DrupalComponentTest::findPhpClasses function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Searches a directory recursively for PHP classes.
DrupalKernel::findSitePath function core/lib/Drupal/Core/DrupalKernel.php Returns the appropriate site directory for a request.

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