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 10.3.x for find
  5. Other projects
Title Object type File name Summary
DirectoryWithMetadataDiscovery::findProvider function core/modules/sdc/src/Plugin/Discovery/DirectoryWithMetadataDiscovery.php Finds the provider of the discovered file.
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
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.
DrupalKernelTest::testFindSitePath function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Tests site path finding.
Drupal\package_manager\ExecutableFinder service core/modules/package_manager/package_manager.services.yml
drupal_find_theme_templates function core/includes/theme.inc Allows themes and/or theme engines to easily discover overridden templates.
drupal_phpunit_find_extension_directories function core/tests/bootstrap.php Finds all valid extension directories recursively within a given directory.
DuplicateInfoFileValidator::findInfoFiles function core/modules/package_manager/src/Validator/DuplicateInfoFileValidator.php Recursively finds info.yml files in a directory.
EntityConstraintViolationList::findByCodes function core/lib/Drupal/Core/Entity/EntityConstraintViolationList.php Filters this violation list by the given error codes.
EntityConstraintViolationListInterface::findByCodes function core/lib/Drupal/Core/Entity/EntityConstraintViolationListInterface.php Filters this violation list by the given error codes.
EntityConstraintViolationListTest::testFindByCodes function core/tests/Drupal/Tests/Core/Entity/EntityConstraintViolationListTest.php @covers ::findByCodes
EntitySchemaTest::findPrimaryKeys function core/tests/Drupal/KernelTests/Core/Entity/EntitySchemaTest.php Finds the primary keys for a given entity type.
EntityTypeManager::findDefinitions function core/lib/Drupal/Core/Entity/EntityTypeManager.php Finds plugin definitions.
ExecutableFinder class core/modules/package_manager/src/ExecutableFinder.php An executable finder which looks for executable paths in configuration.
ExecutableFinder.php file core/modules/package_manager/src/ExecutableFinder.php
ExecutableFinder::find function core/modules/package_manager/src/ExecutableFinder.php
ExecutableFinder::__construct function core/modules/package_manager/src/ExecutableFinder.php
ExecutableFinderTest class core/modules/package_manager/tests/src/Unit/ExecutableFinderTest.php @covers \Drupal\package_manager\ExecutableFinder
@group package_manager
@internal
ExecutableFinderTest.php file core/modules/package_manager/tests/src/Unit/ExecutableFinderTest.php
ExecutableFinderTest::testCheckConfigurationForExecutablePath function core/modules/package_manager/tests/src/Unit/ExecutableFinderTest.php Tests that the executable finder looks for paths in configuration.
FakeAutoloader::findFile function core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php Finds a file by class name while caching lookups to APC.
FilesystemLoader::findTemplate function core/lib/Drupal/Core/Template/Loader/FilesystemLoader.php
FileTransfer::findChroot function core/lib/Drupal/Core/FileTransfer/FileTransfer.php Returns the chroot property for this connection.
FileTranslation::findTranslationFiles function core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php Finds installer translations either for a specific or all languages.
file_field_find_file_reference_column function core/modules/file/file.module Determine whether a field references files stored in {file_managed}.
FilterHtml::findAllowedValue function core/modules/filter/src/Plugin/Filter/FilterHtml.php Helper function to handle prefix matching.
Finder class core/lib/Drupal/Core/DefaultContent/Finder.php Finds all default content in a directory, in dependency order.
Finder.php file core/lib/Drupal/Core/DefaultContent/Finder.php
Finder::$data property core/lib/Drupal/Core/DefaultContent/Finder.php The content entity data to import, in dependency order, keyed by entity UUID.
Finder::__construct function core/lib/Drupal/Core/DefaultContent/Finder.php
FinderTest class core/tests/Drupal/Tests/Core/DefaultContent/FinderTest.php @covers \Drupal\Core\DefaultContent\Finder
@group DefaultContent
FinderTest.php file core/tests/Drupal/Tests/Core/DefaultContent/FinderTest.php
FinderTest::testExceptionIfNoUuid function core/tests/Drupal/Tests/Core/DefaultContent/FinderTest.php Tests that files without UUIDs will raise an exception.
FinderTest::testFoundDataIsInDependencyOrder function core/tests/Drupal/Tests/Core/DefaultContent/FinderTest.php Tests that any discovered entity data is sorted into dependency order.
FundamentalCompatibilityConstraintValidator::findHtmlRestrictorFilterNotAllowingTags function core/modules/ckeditor5/src/Plugin/Validation/Constraint/FundamentalCompatibilityConstraintValidator.php Analyzes a text format to find the filter not allowing required tags.
GenerateTheme::createFilesFinder function core/lib/Drupal/Core/Command/GenerateTheme.php
HelpSearch::findResults function core/modules/help/src/Plugin/Search/HelpSearch.php Finds the search results.
HelpTopicDiscovery::findAll function core/modules/help/src/HelpTopicDiscovery.php Returns an array of discoverable items.
HelpTopicDiscovery::findFiles function core/modules/help/src/HelpTopicDiscovery.php Returns an array of providers keyed by file path.
HelpTopicPluginManager::findDefinitions function core/modules/help/src/HelpTopicPluginManager.php Finds plugin definitions.
HelpTopicTwigLoader::findTemplate function core/modules/help/src/HelpTopicTwigLoader.php
HTMLRestrictions::findElementsOverridingGloballyDisallowedAttributes function core/modules/ckeditor5/src/HTMLRestrictions.php Finds elements overriding globally disallowed attributes.
install_find_translations function core/includes/install.core.inc Finds all .po files that are useful to the installer.
Interpolator::findTokens function composer/Plugin/Scaffold/Interpolator.php Finds all of the tokens in the provided message.
JUnitConverter::findTestCases function core/lib/Drupal/Core/Test/JUnitConverter.php Finds all test cases recursively from a test suite list.

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