You are here

public function MatchEngineInterface::match in CRM Core 8

Same name and namespace in other branches
  1. 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()
  2. 8.2 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 26

Class

MatchEngineInterface
Interface for matching engines.

Namespace

Drupal\crm_core_match\Plugin\crm_core_match\engine

Code

public function match(ContactInterface $contact);