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
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\Core\Theme\Icon\IconFinder service core/core.services.yml
Drupal\package_manager\ExecutableFinder service core/modules/package_manager/package_manager.services.yml
Drupal\package_manager_test_validation\TestExecutableFinder service core/modules/package_manager/tests/modules/package_manager_test_validation/package_manager_test_validation.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 Tests find by codes.
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::$composerBinaryPath property core/modules/package_manager/src/ExecutableFinder.php The path of the Composer binary, or NULL if it can't be found.
ExecutableFinder::$composerPackagePath property core/modules/package_manager/src/ExecutableFinder.php The path where Composer is installed in the project, or FALSE if it's not.
ExecutableFinder::find function core/modules/package_manager/src/ExecutableFinder.php
ExecutableFinder::getLocalComposerPath function core/modules/package_manager/src/ExecutableFinder.php Tries to find the Composer binary installed in the project.
ExecutableFinder::__construct function core/modules/package_manager/src/ExecutableFinder.php
ExecutableFinderTest class core/modules/package_manager/tests/src/Unit/ExecutableFinderTest.php Tests Package Manager's executable finder service.
ExecutableFinderTest.php file core/modules/package_manager/tests/src/Unit/ExecutableFinderTest.php
ExecutableFinderTest::testComposerInstalledInProject function core/modules/package_manager/tests/src/Unit/ExecutableFinderTest.php Tests that the executable finder tries to use a local copy of Composer.
ExecutableFinderTest::testLegacyExecutablePaths function core/modules/package_manager/tests/src/Unit/ExecutableFinderTest.php Tests that the executable finder falls back to looking in config for paths.
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.
Finder::__construct function core/lib/Drupal/Core/DefaultContent/Finder.php
FinderTest class core/tests/Drupal/Tests/Core/DefaultContent/FinderTest.php Tests Finder.
FinderTest.php file core/tests/Drupal/Tests/Core/DefaultContent/FinderTest.php
FinderTest::assertRelativeOrder function core/tests/Drupal/Tests/Core/DefaultContent/FinderTest.php Asserts that an item in an array comes before another item in that array.
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.
IconExtractorWithFinder class core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php Base class for icon_extractor plugins.
IconExtractorWithFinder.php file core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php
IconExtractorWithFinder::checkRequiredConfigSources function core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php Check the required `config > sources` value from definition.

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