public function Matcher::match in CRM Core 8.2
Same name and namespace in other branches
- 8.3 modules/crm_core_match/src/Entity/Matcher.php \Drupal\crm_core_match\Entity\Matcher::match()
- 8 modules/crm_core_match/src/Entity/Matcher.php \Drupal\crm_core_match\Entity\Matcher::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.
Overrides MatcherConfigInterface::match
File
- modules/
crm_core_match/ src/ Entity/ Matcher.php, line 131 - Contains \Drupal\crm_core_match\Entity\Matcher.
Class
- Matcher
- CRM Matcher Entity Class.
Namespace
Drupal\crm_core_match\EntityCode
public function match(ContactInterface $contact) {
return $this
->getPlugin()
->match($contact);
}