public function MatchEngineInterface::match in CRM Core 8.2
Same name and namespace in other branches
- 8.3 modules/crm_core_match/src/Plugin/crm_core_match/engine/MatchEngineInterface.php \Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineInterface::match()
- 8 modules/crm_core_match/src/Plugin/crm_core_match/engine/MatchEngineInterface.php \Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineInterface::match()
Finds matches for given contact.
Parameters
\Drupal\crm_core_contact\ContactInterface $contact: A contact entity used to pass data for identifying a match.
Return value
int[] An array of entity ids for potential matches.
1 method overrides MatchEngineInterface::match()
- DefaultMatchingEngine::match in modules/
crm_core_match/ src/ Plugin/ crm_core_match/ engine/ DefaultMatchingEngine.php - Finds matches for given contact.
File
- modules/
crm_core_match/ src/ Plugin/ crm_core_match/ engine/ MatchEngineInterface.php, line 31 - Contains \Drupal\crm_core_match\Plugin\crm_core_match\engine\MatchEngineInterface.
Class
- MatchEngineInterface
- Interface for matching engines.
Namespace
Drupal\crm_core_match\Plugin\crm_core_match\engineCode
public function match(ContactInterface $contact);